summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-08-05 15:02:21 +0200
committerAmy Winston <amynka@gentoo.org>2016-08-05 15:02:21 +0200
commit0a6ef659a25031905c33fe6fb80080681099dec3 (patch)
tree8bee8db25c91612a76c6e1c46e3848a318551c5d
parentdev-python/couchdb-python: version bump to 1.1 (diff)
downloadgentoo-0a6ef659a25031905c33fe6fb80080681099dec3.tar.gz
gentoo-0a6ef659a25031905c33fe6fb80080681099dec3.tar.bz2
gentoo-0a6ef659a25031905c33fe6fb80080681099dec3.zip
dev-scheme/greg:add guile-2 patch bug #351991
Package-Manager: portage-2.2.28
-rw-r--r--dev-scheme/greg/files/greg-2.0.0-guile2.patch14
-rw-r--r--dev-scheme/greg/greg-2.0.0-r1.ebuild7
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 000000000000..7b78fc9dbd79
--- /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 f0a7a835ae42..cadfdb2c6dad 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