From d60d73fbe74dc0a65f634079998eead6ede83957 Mon Sep 17 00:00:00 2001 From: Martin Dietze Date: Wed, 20 Feb 2013 22:26:15 +0100 Subject: guile-native: added -P option to cpp to unbreak doc generation --- recipes/guile/files/cpp-fix.patch | 10 ++++++++++ recipes/guile/guile-native_1.8.5.bb | 1 + 2 files changed, 11 insertions(+) create mode 100644 recipes/guile/files/cpp-fix.patch (limited to 'recipes/guile') diff --git a/recipes/guile/files/cpp-fix.patch b/recipes/guile/files/cpp-fix.patch new file mode 100644 index 0000000000..4a6bea018d --- /dev/null +++ b/recipes/guile/files/cpp-fix.patch @@ -0,0 +1,10 @@ +--- ./libguile/guile-snarf-docs.in-orig 2013-02-20 22:31:43.000000000 +0100 ++++ ./libguile/guile-snarf-docs.in 2013-02-20 22:32:08.000000000 +0100 +@@ -21,6 +21,6 @@ + bindir=`dirname $0` + + ## Let the user override the preprocessor autoconf found. +-test -n "${CPP+set}" || CPP="@CPP@" ++test -n "${CPP+set}" || CPP="cpp -E -P" + + ${CPP} -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 e73616e6eb..74e1170468 100644 --- a/recipes/guile/guile-native_1.8.5.bb +++ b/recipes/guile/guile-native_1.8.5.bb @@ -4,6 +4,7 @@ DEPENDS = "gmp-native" SRC_URI = "http://ftp.gnu.org/pub/gnu/guile/guile-${PV}.tar.gz \ file://configure-fix.patch;patch=1 \ " +SRC_URI_append_nylon = "file://cpp-fix.patch;patch=1" PR = "r1" -- cgit 1.2.3-korg