From 2b50c1bf07727aa34854d0c43380dc87320a5417 Mon Sep 17 00:00:00 2001 From: Balint Cristian Date: Fri, 23 May 2008 20:31:07 +0000 Subject: [PATCH] ---------------------------------------------------------------------- Modified Files: devel/gdal.spec Added Files: devel/gdal-sincos.patch ---------------------------------------------------------------------- --- gdal-sincos.patch | 11 +++++++++++ gdal.spec | 9 +++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 gdal-sincos.patch diff --git a/gdal-sincos.patch b/gdal-sincos.patch new file mode 100644 index 0000000..1a6f703 --- /dev/null +++ b/gdal-sincos.patch @@ -0,0 +1,11 @@ +--- frmts/hdf4/hdf-eos/GDapi.c.orig 2008-05-20 15:01:09.000000000 +0300 ++++ frmts/hdf4/hdf-eos/GDapi.c 2008-05-20 15:02:07.000000000 +0300 +@@ -6258,7 +6258,7 @@ + + + +-#if !defined(HP9000) && !defined(DEC_ALPHA) ++#if 0 + void + sincos(double val, double *sin_val, double *cos_val) + { diff --git a/gdal.spec b/gdal.spec index fea4d4b..cd778ca 100644 --- a/gdal.spec +++ b/gdal.spec @@ -1,6 +1,6 @@ Name: gdal Version: 1.5.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: GIS file format library Group: System Environment/Libraries License: MIT @@ -9,6 +9,7 @@ Source0: %{name}-%{version}-fedora.tar.gz Source1: http://download.osgeo.org/gdal/gdalautotest-1.5.0.tar.gz Patch0: %{name}-gcc43.patch Patch1: %{name}-perl510.patch +Patch2: %{name}-sincos.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool swig pkgconfig BuildRequires: doxygen tetex-latex ghostscript @@ -63,6 +64,7 @@ The GDAL perl modules provides support to handle multiple GIS file formats. %setup -q -n %{name}-%{version}-fedora %patch0 -p0 -b .gcc43 %patch1 -p0 -b .perl510 +%patch2 -p0 -b .x86_64 # unpack test cases olso. tar -xzf %{SOURCE1} . @@ -374,8 +376,11 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorarch}/* %changelog +* Thu May 23 2008 Balint Cristian - 1.5.1-8 +- fix sincos on all arch + * Thu May 15 2008 Balint Cristian - 1.5.1-7 -- fix a sed option for koji +- fix x86_64 problem * Wed Apr 16 2008 Balint Cristian - 1.5.1-6 - disable fortify source, it crash gdal for now.