Package: python-demgengeo / 1.4-3

10_gcc5.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: fix FTBFS with gcc-5
 Call cpp with -P
Author: Matthias Klose <doko@debian.org>
Bug-Debian: https://bugs.debian.org/778075
Last-Update: 2015-07-10

Index: GenGeo-1.2/m4/boost.m4
===================================================================
--- GenGeo-1.2.orig/m4/boost.m4
+++ GenGeo-1.2/m4/boost.m4
@@ -84,7 +84,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],