diff options
author | Ryan Hill <rhill@gentoo.org> | 2015-09-18 22:57:01 -0600 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2015-10-12 17:22:24 -0600 |
commit | 827c7b55b865c20157d0ad17b6883b15cd5167bb (patch) | |
tree | a718ab26d97dc4ee608f437c4fc66f5e7e772e5b /dev-scheme/guile | |
parent | dev-scheme/guile: configure.in -> .ac (diff) | |
download | gentoo-827c7b55b865c20157d0ad17b6883b15cd5167bb.tar.gz gentoo-827c7b55b865c20157d0ad17b6883b15cd5167bb.tar.bz2 gentoo-827c7b55b865c20157d0ad17b6883b15cd5167bb.zip |
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
Diffstat (limited to 'dev-scheme/guile')
-rw-r--r-- | dev-scheme/guile/files/guile-1.8.8-tinfo.patch | 15 | ||||
-rw-r--r-- | dev-scheme/guile/guile-1.8.8-r2.ebuild | 1 |
2 files changed, 16 insertions, 0 deletions
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 000000000000..6c4d0116246e --- /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 e0f62a9caac3..2856054af762 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 \ |