[DebianGIS-dev] r1664 - packages/mapserver/trunk/debian

frankie at alioth.debian.org frankie at alioth.debian.org
Mon Jun 23 15:19:41 UTC 2008


Author: frankie
Date: 2008-06-23 15:19:39 +0000 (Mon, 23 Jun 2008)
New Revision: 1664

Modified:
   packages/mapserver/trunk/debian/changelog
   packages/mapserver/trunk/debian/rules
Log:
Fixing 487679


Modified: packages/mapserver/trunk/debian/changelog
===================================================================
--- packages/mapserver/trunk/debian/changelog	2008-06-23 10:56:52 UTC (rev 1663)
+++ packages/mapserver/trunk/debian/changelog	2008-06-23 15:19:39 UTC (rev 1664)
@@ -1,3 +1,10 @@
+mapserver (5.0.3-2) unstable; urgency=high
+
+  * Turning off optimization in debian/rules due to serious breakage of mapserver
+    with GCC 4.3. (closes: #487679)
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Mon, 23 Jun 2008 16:59:43 +0200
+
 mapserver (5.0.3-1) unstable; urgency=low
 
   * New upstream release, with a good deal of fixes.

Modified: packages/mapserver/trunk/debian/rules
===================================================================
--- packages/mapserver/trunk/debian/rules	2008-06-23 10:56:52 UTC (rev 1663)
+++ packages/mapserver/trunk/debian/rules	2008-06-23 15:19:39 UTC (rev 1664)
@@ -20,6 +20,10 @@
 
 AGG=agg-2.4
 
+# Turning off optimization due to issue with gcc 4.3 (see #487679)
+CFLAGS="-g -O0"
+CXXFLAGS="$(CFLAGS)"
+
 # Configure config :
 # Not using non free libpdf
 # Explicit disable direct goetiff support, 
@@ -71,14 +75,15 @@
 
 configure-stamp: patch build-agg-stamp
 	dh_testdir
-	./configure $(COMMON_CONFIG)
+	./configure $(COMMON_CONFIG) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)"
 
+
 	touch configure-stamp
 
 configure-php5-stamp: patch clean-first-build
 	dh_testdir
 	./configure $(COMMON_CONFIG) \
-		--with-php=/usr/include/php5 
+		--with-php=/usr/include/php5  CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)"
 
 	touch configure-php5-stamp
 




More information about the Pkg-grass-devel mailing list