summaryrefslogtreecommitdiffstats
path: root/base/guile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-26 22:50:54 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-26 22:50:54 +0200
commit6c025073cd1b9247eeea0472d83fc35955ff25d7 (patch)
treecff3ba6af64563cbc62ca8a2d9f80689929a83ad /base/guile
parent34c929ae6ce4af77fd3792680400574fda520117 (diff)
downloadnutyx-extra-6c025073cd1b9247eeea0472d83fc35955ff25d7.tar.gz
nutyx-extra-6c025073cd1b9247eeea0472d83fc35955ff25d7.tar.bz2
nutyx-extra-6c025073cd1b9247eeea0472d83fc35955ff25d7.tar.xz
nutyx-extra-6c025073cd1b9247eeea0472d83fc35955ff25d7.zip
guile, ajout patch pour gcc 4.5.0
Diffstat (limited to 'base/guile')
-rw-r--r--base/guile/.md5sum1
-rwxr-xr-xbase/guile/Pkgfile5
-rw-r--r--base/guile/guile-gcc-4.5.0-doc-1.patch8
3 files changed, 12 insertions, 2 deletions
diff --git a/base/guile/.md5sum b/base/guile/.md5sum
index db2cda0f8..001a3c69f 100644
--- a/base/guile/.md5sum
+++ b/base/guile/.md5sum
@@ -1 +1,2 @@
991b5b3efcbbc3f7507d05bc42f80a5e guile-1.8.7.tar.gz
+b253a57be0a77c1cfac7e99b8443147c guile-gcc-4.5.0-doc-1.patch
diff --git a/base/guile/Pkgfile b/base/guile/Pkgfile
index 9aceb568a..f94838fc7 100755
--- a/base/guile/Pkgfile
+++ b/base/guile/Pkgfile
@@ -7,11 +7,12 @@
name=guile
version=1.8.7
release=1
-source=( http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
-
+source=( http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz\
+ guile-gcc-4.5.0-doc-1.patch)
build() {
cd $name-$version
+ patch -Np1 -i ../guile-gcc-4.5.0-doc-1.patch
sed -i -e '20,$ d' \
-e 's|slib)|&)\n(load-from-path "slib/guile.init")|' \
ice-9/slib.scm
diff --git a/base/guile/guile-gcc-4.5.0-doc-1.patch b/base/guile/guile-gcc-4.5.0-doc-1.patch
new file mode 100644
index 000000000..2523487da
--- /dev/null
+++ b/base/guile/guile-gcc-4.5.0-doc-1.patch
@@ -0,0 +1,8 @@
+--- guile-1.8.7/libguile/guile-snarf-docs.in.orig 2010-04-26 22:30:50.000000000 +0200
++++ guile-1.8.7/libguile/guile-snarf-docs.in 2010-04-26 22:32:07.000000000 +0200
+@@ -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 "$@"