summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-22 16:15:47 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-22 16:15:47 +0100
commit8ef0babfccf50f1c03735378b6c668ae8d19233e (patch)
treeb8788fd895b7618cece7e2963e40e6baba3e7eb8 /media-sound/aumix/files
parentapp-accessibility/brltty: Bump to version 6.0 (diff)
downloadgentoo-8ef0babfccf50f1c03735378b6c668ae8d19233e.tar.gz
gentoo-8ef0babfccf50f1c03735378b6c668ae8d19233e.tar.bz2
gentoo-8ef0babfccf50f1c03735378b6c668ae8d19233e.zip
media-sound/aumix: Fixed build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/578722 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/aumix/files')
-rw-r--r--media-sound/aumix/files/aumix-2.9.1-tinfo.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-sound/aumix/files/aumix-2.9.1-tinfo.patch b/media-sound/aumix/files/aumix-2.9.1-tinfo.patch
new file mode 100644
index 000000000000..969e034e0cbb
--- /dev/null
+++ b/media-sound/aumix/files/aumix-2.9.1-tinfo.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/578722
+
+--- aumix-2.9.1/configure.ac
++++ aumix-2.9.1/configure.ac
+@@ -69,6 +69,8 @@
+ [ --without-ncurses compile with no ncurses or mouse support],
+ AC_MSG_RESULT([Compiling without ncurses support]),[
+ dnl Checks for ncurses library.
++ AC_CHECK_LIB(tinfo, main, TINFO_LIB="-ltinfo", TINFO_LIB=)
++ AC_SUBST(TINFO_LIB)
+ AC_CHECK_LIB(ncurses, initscr, initscr=on, initscr=off)
+ if test $initscr = on; then
+ CURSLIB="ncurses"
+@@ -83,7 +85,7 @@
+ fi
+ fi
+ if test x$CURSLIB != x; then
+- LIBS="-l$CURSLIB $LIBS"
++ LIBS="-l$CURSLIB $TINFO_LIB $LIBS"
+ AC_DEFINE(HAVE_CURSES, 1,
+ [Define this if you have (n)curses and want to use it.])
+ AC_CHECK_LIB($CURSLIB, getmouse,