commit:     0a6ef659a25031905c33fe6fb80080681099dec3
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 13:02:21 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 13:02:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6ef659

dev-scheme/greg:add guile-2 patch bug #351991

Package-Manager: portage-2.2.28

 dev-scheme/greg/files/greg-2.0.0-guile2.patch | 14 ++++++++++++++
 dev-scheme/greg/greg-2.0.0-r1.ebuild          |  7 +++++--
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/greg/files/greg-2.0.0-guile2.patch 
b/dev-scheme/greg/files/greg-2.0.0-guile2.patch
new file mode 100644
index 0000000..7b78fc9
--- /dev/null
+++ b/dev-scheme/greg/files/greg-2.0.0-guile2.patch
@@ -0,0 +1,14 @@
+--- greg-2.0.0/configure.ac.old        2012-09-23 13:25:24.000000000 +0200
++++ greg-2.0.0/configure.ac    2012-09-23 13:25:31.000000000 +0200
+@@ -48,7 +48,10 @@
+ AC_HEADER_STDC
+ AC_HEADER_TIME
+ AC_HEADER_SYS_WAIT
+-AC_CHECK_HEADERS(libc.h limits.h malloc.h memory.h string.h signal.h 
sys/file.h sys/fcntl.h sys/ioctl.h sys/stropts.h unistd.h utime.h libguile.h 
errno.h)
++AC_CHECK_HEADERS(libc.h limits.h malloc.h memory.h string.h signal.h 
sys/file.h sys/fcntl.h sys/ioctl.h sys/stropts.h unistd.h utime.h errno.h)
++
++CFLAGS=`GUILE_AUTOCOMPILE=0 $GUILECONFIG compile`
++AC_CHECK_HEADER(libguile.h)
+ 
+ 
+ # Checks for typedefs, structures, and compiler characteristics.

diff --git a/dev-scheme/greg/greg-2.0.0-r1.ebuild 
b/dev-scheme/greg/greg-2.0.0-r1.ebuild
index f0a7a83..cadfdb2 100644
--- a/dev-scheme/greg/greg-2.0.0-r1.ebuild
+++ b/dev-scheme/greg/greg-2.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,7 +20,10 @@ IUSE="static-libs"
 RDEPEND=">=dev-scheme/guile-1.8"
 DEPEND=""
 
-PATCHES=( "${FILESDIR}"/${P}-test.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-test.patch
+       "${FILESDIR}"/${P}-guile2.patch
+       )
 
 src_test() {
        cd test || die

Reply via email to