dev-scheme/greg:add guile-2 patch bug #351991
authorAmy Winston <amynka@gentoo.org>
Fri, 5 Aug 2016 13:02:21 +0000 (15:02 +0200)
committerAmy Winston <amynka@gentoo.org>
Fri, 5 Aug 2016 13:02:21 +0000 (15:02 +0200)
Package-Manager: portage-2.2.28

dev-scheme/greg/files/greg-2.0.0-guile2.patch [new file with mode: 0644]
dev-scheme/greg/greg-2.0.0-r1.ebuild

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 (file)
index 0000000..7b78fc9
--- /dev/null
@@ -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.
index f0a7a835ae4291a3e778b332b1aaa6f29220c33d..cadfdb2c6dad0c793899189ed379b5900f93a70a 100644 (file)
@@ -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