[python-demgengeo] 02/04: Call cpp with -P. (Closes: #778075)

Anton Gladky gladk at moszumanska.debian.org
Fri Jul 10 19:20:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository python-demgengeo.

commit 593e1d5cb2b981c5b4b7323a73831df3409e5b7a
Author: Matthias Klose <doko at debian.org>
Date:   Fri Jul 10 20:59:31 2015 +0200

    Call cpp with -P. (Closes: #778075)
---
 debian/patches/gcc5.patch | 19 +++++++++++++++++++
 debian/patches/series     |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/gcc5.patch b/debian/patches/gcc5.patch
new file mode 100644
index 0000000..c819156
--- /dev/null
+++ b/debian/patches/gcc5.patch
@@ -0,0 +1,19 @@
+Description: fix FTBFS with gcc-5
+ Call cpp with -P
+Author: Matthias Klose <doko at debian.org>
+Bug-Debian: https://bugs.debian.org/778075
+Last-Update: 2015-07-10
+
+Index: python-demgengeo-1.0/build/m4/boost.m4
+===================================================================
+--- python-demgengeo-1.0.orig/build/m4/boost.m4
++++ python-demgengeo-1.0/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 --git a/debian/patches/series b/debian/patches/series
index 0b92019..a75ef15 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-rpath.patch
 replace_cerr_by_cout.patch
+#gcc5.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-demgengeo.git



More information about the debian-science-commits mailing list