diff options
author | Miroslav Lichvar <mlichvar@fedoraproject.org> | 2009-11-19 17:21:40 +0000 |
---|---|---|
committer | Miroslav Lichvar <mlichvar@fedoraproject.org> | 2009-11-19 17:21:40 +0000 |
commit | ac37a89b73ccc8efc1841dc001069e2e0bc008c6 (patch) | |
tree | 379edfe55559b75c8927d25215ecc92730374888 /guile-1.8.7-linemarkers.patch | |
parent | f9a67a31dbdf5bab1ec3ff1908e1dda69fd5d108 (diff) | |
download | guile-ac37a89b73ccc8efc1841dc001069e2e0bc008c6.tar.gz guile-ac37a89b73ccc8efc1841dc001069e2e0bc008c6.tar.xz guile-ac37a89b73ccc8efc1841dc001069e2e0bc008c6.zip |
- fix building with new cpp (#538707)guile-1_8_7-4_fc13
Diffstat (limited to 'guile-1.8.7-linemarkers.patch')
-rw-r--r-- | guile-1.8.7-linemarkers.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/guile-1.8.7-linemarkers.patch b/guile-1.8.7-linemarkers.patch new file mode 100644 index 0000000..4330c24 --- /dev/null +++ b/guile-1.8.7-linemarkers.patch @@ -0,0 +1,21 @@ +diff -up guile-1.8.7/libguile/guile-snarf-docs.in.linemarkers guile-1.8.7/libguile/guile-snarf-docs.in +--- guile-1.8.7/libguile/guile-snarf-docs.in.linemarkers 2009-07-04 00:19:00.000000000 +0200 ++++ guile-1.8.7/libguile/guile-snarf-docs.in 2009-11-19 17:58:03.000000000 +0100 +@@ -23,4 +23,4 @@ bindir=`dirname $0` + ## Let the user override the preprocessor autoconf found. + test -n "${CPP+set}" || CPP="@CPP@" + +-${CPP} -DSCM_MAGIC_SNARF_DOCS "$@" ++${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@" +diff -up guile-1.8.7/libguile/guile-snarf.in.linemarkers guile-1.8.7/libguile/guile-snarf.in +--- guile-1.8.7/libguile/guile-snarf.in.linemarkers 2009-11-19 16:31:46.000000000 +0100 ++++ guile-1.8.7/libguile/guile-snarf.in 2009-11-19 18:10:09.000000000 +0100 +@@ -49,7 +49,7 @@ modern_snarf () + ## Apparently, AIX's preprocessor is unhappy if you try to #include an + ## empty file. + echo "/* cpp arguments: $@ */" ; +- ${cpp} -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true ++ ${cpp} -P -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true + grep "^ *\^ *\^" ${temp} | sed -e "s/^ *\^ *\^//" -e "s/\^\ *:\ *\^.*/;/" + } + |