summaryrefslogtreecommitdiffstats
path: root/main/guile/guile-1.8.7-gcc45.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-30 07:56:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-30 13:44:37 +0000
commit4ce598e0e91cf9ecb264d0ea5522f4078f23caaf (patch)
tree6ce02cc007473e451a66d9660bf6de2ece164141 /main/guile/guile-1.8.7-gcc45.patch
parentceddc2cfc53ec9838a81ccf6408e6cf345daf9bf (diff)
downloadaports-4ce598e0e91cf9ecb264d0ea5522f4078f23caaf.tar.bz2
aports-4ce598e0e91cf9ecb264d0ea5522f4078f23caaf.tar.xz
main/guile: build fix for gcc-4.5
Diffstat (limited to 'main/guile/guile-1.8.7-gcc45.patch')
-rw-r--r--main/guile/guile-1.8.7-gcc45.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/guile/guile-1.8.7-gcc45.patch b/main/guile/guile-1.8.7-gcc45.patch
new file mode 100644
index 000000000..6c9c2cd44
--- /dev/null
+++ b/main/guile/guile-1.8.7-gcc45.patch
@@ -0,0 +1,15 @@
+Fixing docs build with gcc-4.5
+
+http://bugs.gentoo.org/317175
+
+Patch scavenged from
+http://lists.gnu.org/archive/html/guile-devel/2009-11/msg00078.html
+
+--- ./libguile/guile-snarf-docs.in
++++ ./libguile/guile-snarf-docs.in
+@@ -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 "$@"