From: Robert P. J. Day Date: Thu, 19 Nov 2009 17:41:03 +0000 (+0000) Subject: guile-native: Add patch to inhibit generation of linemarkers from cpp. X-Git-Tag: Release-2010-05/1~339^2~25^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ffb647a3642705698322152f6add1269e44f0eb;p=openembedded.git 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 --- 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 \ "