commit:     827c7b55b865c20157d0ad17b6883b15cd5167bb
Author:     Ryan Hill <rhill <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 04:57:01 2015 +0000
Commit:     Ryan Hill <rhill <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 23:22:24 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827c7b55

dev-scheme/guile: Also look for tgoto in libtinfo (bug #539316)

This is the case when ncurses is built with USE=tinfo.

Gentoo-Bug: https://bugs.gentoo.org/539316

 dev-scheme/guile/files/guile-1.8.8-tinfo.patch | 15 +++++++++++++++
 dev-scheme/guile/guile-1.8.8-r2.ebuild         |  1 +
 2 files changed, 16 insertions(+)

diff --git a/dev-scheme/guile/files/guile-1.8.8-tinfo.patch 
b/dev-scheme/guile/files/guile-1.8.8-tinfo.patch
new file mode 100644
index 0000000..6c4d011
--- /dev/null
+++ b/dev-scheme/guile/files/guile-1.8.8-tinfo.patch
@@ -0,0 +1,15 @@
+With ncurses[tinfo] tgoto will be in libtinfo
+
+https://bugs.gentoo.org/539316
+
+--- a/guile-readline/configure.in
++++ b/guile-readline/configure.in
+@@ -33,7 +33,7 @@ if test "$MINGW32" = "yes" ; then
+ fi
+ AC_SUBST(EXTRA_DEFS)
+ 
+-for termlib in ncurses curses termcap terminfo termlib ; do
++for termlib in ncurses curses termcap terminfo termlib tinfo ; do
+    AC_CHECK_LIB(${termlib}, tgoto,
+                 [LIBS="-l${termlib} $LIBS"; break])
+ done

diff --git a/dev-scheme/guile/guile-1.8.8-r2.ebuild 
b/dev-scheme/guile/guile-1.8.8-r2.ebuild
index e0f62a9..2856054 100644
--- a/dev-scheme/guile/guile-1.8.8-r2.ebuild
+++ b/dev-scheme/guile/guile-1.8.8-r2.ebuild
@@ -36,6 +36,7 @@ src_prepare() {
                "${FILESDIR}/${P}-gcc5.patch" \
                "${FILESDIR}/${P}-makeinfo-5.patch" \
                "${FILESDIR}/${P}-gtexinfo-5.patch" \
+               "${FILESDIR}/${P}-tinfo.patch" \
                "${FILESDIR}/${P}-sandbox.patch"
 
        sed \

Reply via email to