diff options
Diffstat (limited to 'app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch')
-rw-r--r-- | app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch new file mode 100644 index 000000000000..7f94dd20d8db --- /dev/null +++ b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-tinfo.patch @@ -0,0 +1,22 @@ +--- e-uae-0.8.29-WIP4/configure.in ++++ e-uae-0.8.29-WIP4/configure.in +@@ -624,6 +624,7 @@ + AC_PATH_XTRA + + dnl Check for ncurses ++AC_CHECK_LIB(tinfo, main, HAVE_TINFO_LIB=yes, HAVE_TINFO_LIB=no) + AC_CHECK_LIB(ncurses, waddch, HAVE_NCURSES_LIB=yes, HAVE_NCURSES_LIB=no) + + dnl Check for SDL +@@ -793,7 +794,10 @@ + + if [[ "x$WANT_NCURSES" = "xyes" ]]; then + if [[ "x$HAVE_NCURSES_LIB" = "xyes" ]]; then +- GFX_LIBS="-lncurses" ++ if [[ "x$HAVE_TINFO_LIB" = "xyes" ]]; then ++ GFX_LIBS="-ltinfo" ++ fi ++ GFX_LIBS="$GFX_LIBS -lncurses" + GFX_CFLAGS= + GFX_CPPFLAGS= + GFX_DEP=gfx-curses |