tags 667093 + patch
thanks

diff -Nru ants-1.9.2+svn680.dfsg/debian/changelog 
ants-1.9.2+svn680.dfsg/debian/changelog
--- ants-1.9.2+svn680.dfsg/debian/changelog     2012-03-11 05:09:17.000000000 
+0000
+++ ants-1.9.2+svn680.dfsg/debian/changelog     2012-05-03 20:29:11.000000000 
+0000
@@ -1,3 +1,17 @@
+ants (1.9.2+svn680.dfsg-3.1) unstable; urgency=low
+
+  * Non maintainer upload
+  * Fix build using GCC 4.7. Closes: #667099.
+
+ -- Matthias Klose <d...@debian.org>  Thu, 03 May 2012 22:28:27 +0200
+
+ants (1.9.2+svn680.dfsg-3.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * Fix build with GCC 4.7. Closes: #667099.
+
+ -- Matthias Klose <d...@debian.org>  Thu, 03 May 2012 22:18:34 +0200
+
 ants (1.9.2+svn680.dfsg-3) unstable; urgency=low
 
   * Seems to build fine now against available ITK 3.20 (Closes: #655306)
diff -Nru ants-1.9.2+svn680.dfsg/debian/rules 
ants-1.9.2+svn680.dfsg/debian/rules
--- ants-1.9.2+svn680.dfsg/debian/rules 2012-03-11 05:09:17.000000000 +0000
+++ ants-1.9.2+svn680.dfsg/debian/rules 2012-05-03 20:28:22.000000000 +0000
@@ -14,7 +14,7 @@
 else
     export CFLAGS += -O2
 endif
-export CXXFLAGS = $(CFLAGS)
+export CXXFLAGS = $(CFLAGS) -fpermissive
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1

Reply via email to