[oe-commits] Robert P. J. Day : guile-native: Add patch to inhibit generation of linemarkers from cpp.
git version control
git at git.openembedded.org
Thu Nov 19 22:18:18 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9ffb647a3642705698322152f6add1269e44f0eb
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9ffb647a3642705698322152f6add1269e44f0eb
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Thu Nov 19 17:41:03 2009 +0000
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 at crashcourse.ca>
---
recipes/guile/files/cpp-linemarkers.patch | 8 ++++++++
recipes/guile/guile-native_1.8.5.bb | 1 +
recipes/guile/guile-native_1.8.6.bb | 1 +
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 0000000..3e48932
--- /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 9c2eb13..5c999db 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 d511807..2f87c48 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 \
"
More information about the Openembedded-commits
mailing list