Debian Codegraph @

debian/patches/10_gcc5.patch

raw
1 Description: fix FTBFS with gcc-5
2 Call cpp with -P
3 Author: Matthias Klose <[email protected]>
4 Bug-Debian: https://bugs.debian.org/778075
5 Last-Update: 2015-07-10
6
7 Index: GenGeo-1.2/m4/boost.m4
8 ===================================================================
9 --- GenGeo-1.2.orig/m4/boost.m4
10 +++ GenGeo-1.2/m4/boost.m4
11 @@ -84,7 +84,7 @@ dnl strip `\n' with backquotes, not the
12 dnl boost_cv_lib_version='1_37\r' for instance, which breaks
13 dnl everything else.
14 dnl Cannot use 'dnl' after [$4] because a trailing dnl may break AC_CACHE_CHECK
15 -(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
16 +(eval "$ac_cpp -P conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
17 tr -d '\r' |
18 $SED -n -e "$1" >conftest.i 2>&1],
19 [$3],