summaryrefslogtreecommitdiff
path: root/recipes/guile/files
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2009-11-19 17:41:03 +0000
committerPhilip Balister <philip@balister.org>2009-11-19 17:18:07 -0500
commit9ffb647a3642705698322152f6add1269e44f0eb (patch)
tree1aa1a87d7ed4aa4c716461e3d27c4ac2dc7e2105 /recipes/guile/files
parentf9c281ca42b89f6c26a433a192f85e6eb735415f (diff)
guile-native: Add patch to inhibit generation of linemarkers from cpp.
Add the "-P" option to inhibit generation of linemarkers in the output from the preprocessor. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Diffstat (limited to 'recipes/guile/files')
-rw-r--r--recipes/guile/files/cpp-linemarkers.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/guile/files/cpp-linemarkers.patch b/recipes/guile/files/cpp-linemarkers.patch
new file mode 100644
index 0000000000..3e48932a3c
--- /dev/null
+++ b/recipes/guile/files/cpp-linemarkers.patch
@@ -0,0 +1,8 @@
+--- guile.orig/libguile/guile-snarf-docs.in 2009-07-03 18:19:00.000000000 -0400
++++ guile/libguile/guile-snarf-docs.in 2009-11-19 12:55:32.487266268 -0500
+@@ -23,4 +23,4 @@
+ ## 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 "$@"