From 6c025073cd1b9247eeea0472d83fc35955ff25d7 Mon Sep 17 00:00:00 2001 From: tnut Date: Mon, 26 Apr 2010 22:50:54 +0200 Subject: guile, ajout patch pour gcc 4.5.0 --- base/guile/.md5sum | 1 + base/guile/Pkgfile | 5 +++-- base/guile/guile-gcc-4.5.0-doc-1.patch | 8 ++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 base/guile/guile-gcc-4.5.0-doc-1.patch (limited to 'base') 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 "$@" -- cgit v1.2.3-70-g09d2