summaryrefslogtreecommitdiff
path: root/recipes/guile
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
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')
-rw-r--r--recipes/guile/files/cpp-linemarkers.patch8
-rw-r--r--recipes/guile/guile-native_1.8.5.bb1
-rw-r--r--recipes/guile/guile-native_1.8.6.bb1
3 files changed, 10 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 "$@"
diff --git a/recipes/guile/guile-native_1.8.5.bb b/recipes/guile/guile-native_1.8.5.bb
index 9c2eb13d8d..5c999dbade 100644
--- a/recipes/guile/guile-native_1.8.5.bb
+++ b/recipes/guile/guile-native_1.8.5.bb
@@ -4,6 +4,7 @@ DEPENDS = "libtool (< 2)"
SRC_URI = "http://ftp.gnu.org/pub/gnu/guile/guile-${PV}.tar.gz \
file://configure-fix.patch;patch=1 \
+ file://cpp-linemarkers.patch;patch=1 \
"
PR = "r1"
diff --git a/recipes/guile/guile-native_1.8.6.bb b/recipes/guile/guile-native_1.8.6.bb
index d511807e09..2f87c482ca 100644
--- a/recipes/guile/guile-native_1.8.6.bb
+++ b/recipes/guile/guile-native_1.8.6.bb
@@ -1,4 +1,5 @@
require guile-native.inc
SRC_URI = "http://ftp.gnu.org/pub/gnu/guile/guile-${PV}.tar.gz \
file://configure-fix.patch;patch=1 \
+ file://cpp-linemarkers.patch;patch=1 \
"