Bug#667379: spring: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Thu May 10 19:18:52 UTC 2012


tags 667379 + patch
thanks

uploaded to delayed/5, part of the boost transition
-------------- next part --------------
diff -Nru spring-88.0+dfsg1/debian/changelog spring-88.0+dfsg1/debian/changelog
--- spring-88.0+dfsg1/debian/changelog	2012-03-31 11:07:41.000000000 +0000
+++ spring-88.0+dfsg1/debian/changelog	2012-05-10 18:42:46.000000000 +0000
@@ -1,3 +1,11 @@
+spring (88.0+dfsg1-1.1) unstable; urgency=low
+
+  * Non maintainer upload
+  * Work around build failure with GCC 4.7, build with -fpermissive.
+    Closes: #667379.
+
+ -- Matthias Klose <doko at debian.org>  Thu, 10 May 2012 20:41:35 +0200
+
 spring (88.0+dfsg1-1) unstable; urgency=low
 
   [ Jan Dittberner ]
diff -Nru spring-88.0+dfsg1/debian/rules spring-88.0+dfsg1/debian/rules
--- spring-88.0+dfsg1/debian/rules	2012-03-31 11:07:41.000000000 +0000
+++ spring-88.0+dfsg1/debian/rules	2012-05-10 18:43:15.000000000 +0000
@@ -11,11 +11,11 @@
 
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
   export CC=$(DEB_HOST_GNU_TYPE)-gcc
-  export CXX=$(DEB_HOST_GNU_TYPE)-g++
+  export CXX=$(DEB_HOST_GNU_TYPE)-g++ -fpermissive
   export CMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt
 else
   export CC=gcc
-  export CXX=g++
+  export CXX=g++ -fpermissive
 endif
 
 # CPU type


More information about the Pkg-games-devel mailing list