diff options
Diffstat (limited to 'media-sound/aumix/files/aumix-2.9.1-tinfo.patch')
-rw-r--r-- | media-sound/aumix/files/aumix-2.9.1-tinfo.patch | 22 |
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, |