Bug#778075: python-demgengeo: ftbfs with GCC-5

Matthias Klose doko at debian.org
Fri Jul 10 13:19:24 UTC 2015


Control: tags -1 + patch pending

attaching a patch, uploading to delayed.
-------------- next part --------------
diff -Nru python-demgengeo-1.0/debian/changelog python-demgengeo-1.0/debian/changelog
--- python-demgengeo-1.0/debian/changelog	2014-05-14 18:38:03.000000000 +0000
+++ python-demgengeo-1.0/debian/changelog	2015-07-10 12:59:23.000000000 +0000
@@ -1,3 +1,10 @@
+python-demgengeo (1.0-2.1) unstable; urgency=medium
+
+  * Non maintainer upload.
+  * Call cpp with -P. Closes: #778075.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 10 Jul 2015 14:58:40 +0200
+
 python-demgengeo (1.0-2) unstable; urgency=medium
 
   * [25149fb] Add autopkgtest.
diff -Nru python-demgengeo-1.0/debian/patches/gcc5.diff python-demgengeo-1.0/debian/patches/gcc5.diff
--- python-demgengeo-1.0/debian/patches/gcc5.diff	1970-01-01 00:00:00.000000000 +0000
+++ python-demgengeo-1.0/debian/patches/gcc5.diff	2015-07-10 13:00:02.000000000 +0000
@@ -0,0 +1,13 @@
+Index: b/build/m4/boost.m4
+===================================================================
+--- a/build/m4/boost.m4
++++ b/build/m4/boost.m4
+@@ -76,7 +76,7 @@ dnl strip `\n' with backquotes, not the
+ dnl boost_cv_lib_version='1_37\r' for instance, which breaks
+ dnl everything else.
+ dnl Cannot use 'dnl' after [$4] because a trailing dnl may break AC_CACHE_CHECK
+-(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
++(eval "$ac_cpp -P conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
+   tr -d '\r' |
+   $SED -n -e "$1" >conftest.i 2>&1],
+   [$3],
diff -Nru python-demgengeo-1.0/debian/patches/series python-demgengeo-1.0/debian/patches/series
--- python-demgengeo-1.0/debian/patches/series	2014-05-14 18:26:10.000000000 +0000
+++ python-demgengeo-1.0/debian/patches/series	2015-07-10 12:59:32.000000000 +0000
@@ -1,2 +1,3 @@
 fix-rpath.patch
 replace_cerr_by_cout.patch
+gcc5.diff


More information about the debian-science-maintainers mailing list