rpms/gdal/devel gdal.spec,1.33,1.34

Balint Cristian (rezso) fedora-extras-commits at redhat.com
Wed Apr 16 21:15:43 UTC 2008


Author: rezso

Update of /cvs/pkgs/rpms/gdal/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17656/devel

Modified Files:
	gdal.spec 
Log Message:
* Wed Apr 16 2008 Balint Cristian <rezso at rdsor.ro> - 1.5.1-6
- disable fortify source, it crash gdal for now.
 ----------------------------------------------------------------------
 Modified Files:
 	devel/gdal.spec 
 ----------------------------------------------------------------------



Index: gdal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdal/devel/gdal.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- gdal.spec	28 Mar 2008 15:54:18 -0000	1.33
+++ gdal.spec	16 Apr 2008 21:15:08 -0000	1.34
@@ -1,6 +1,6 @@
 Name:      gdal
 Version:   1.5.1
-Release:   5%{?dist}
+Release:   6%{?dist}
 Summary:   GIS file format library
 Group:     System Environment/Libraries
 License:   MIT
@@ -137,8 +137,10 @@
 export CPPFLAGS="$CPPFLAGS -I%{_includedir}/libgeotiff"
 export CPPFLAGS="$CPPFLAGS `dap-config --cflags`"
 export CPPFLAGS="$CPPFLAGS -DH5_USE_16_API"
-export CFLAGS="$RPM_OPT_FLAGS" 
-export CXXFLAGS="$RPM_OPT_FLAGS"
+
+# code may contain sensible buffer overflows triggered by gcc ssp flag (mustfixupstream).
+export CXXFLAGS=`echo %{optflags}|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2 //g'`
+export CFLAGS=`echo %{optflags}|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2 //g'`
 
 # we have multilib ogdi-config
 %if "%{_lib}" == "lib"
@@ -372,6 +374,9 @@
 %{perl_vendorarch}/*
 
 %changelog
+* Wed Apr 16 2008 Balint Cristian <rezso at rdsor.ro> - 1.5.1-6
+- disable fortify source, it crash gdal for now.
+
 * Fri Mar 28 2008 Balint Cristian <rezso at rdsor.ro> - 1.5.1-5
 - really eanble against grass63
 




More information about the fedora-extras-commits mailing list