aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <mdietze@gmail.com>2013-02-20 22:26:15 +0100
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:27:29 +0100
commitd60d73fbe74dc0a65f634079998eead6ede83957 (patch)
treed8c985f1a9e71981466b7d37a5b41f32dbe51ac5
parentc314a5281f9ab5d7351c768c2c76ef49111b9a4a (diff)
downloadopenembedded-d60d73fbe74dc0a65f634079998eead6ede83957.zip
openembedded-d60d73fbe74dc0a65f634079998eead6ede83957.tar.gz
openembedded-d60d73fbe74dc0a65f634079998eead6ede83957.tar.bz2
guile-native: added -P option to cpp to unbreak doc generation
-rw-r--r--recipes/guile/files/cpp-fix.patch10
-rw-r--r--recipes/guile/guile-native_1.8.5.bb1
2 files changed, 11 insertions, 0 deletions
diff --git a/recipes/guile/files/cpp-fix.patch b/recipes/guile/files/cpp-fix.patch
new file mode 100644
index 0000000..4a6bea0
--- /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 e73616e..74e1170 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"