summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch')
-rw-r--r--media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch16
1 files changed, 9 insertions, 7 deletions
diff --git a/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch b/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch
index 40ee0066e3d3..5c11e7682b59 100644
--- a/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch
+++ b/media-sound/ncmpc/files/ncmpc-0.24-tinfo.patch
@@ -1,6 +1,8 @@
+diff --git a/configure.ac b/configure.ac
+index 2d79f35..b82dd49 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -17,11 +17,8 @@
+@@ -17,11 +17,8 @@ AC_CONFIG_MACRO_DIR([m4])
dnl Check for programs
AC_PROG_CC_C99
AC_PROG_INSTALL
@@ -13,19 +15,19 @@
dnl =======================================================
dnl initialize variables
-@@ -83,6 +80,19 @@
+@@ -83,6 +80,19 @@ mingw32* | windows*)
esac
AM_CONDITIONAL([HAVE_WINDOWS], [test $HAVE_WINDOWS -eq 1])
-+dnl ncurses
++dnl ncursesw
+
-+PKG_CHECK_MODULES([ncurses], [ncurses],[
-+ LIBS="$LIBS $ncurses_LIBS"
++PKG_CHECK_MODULES([ncursesw], [ncursesw],[
++ LIBS="$LIBS $ncursesw_LIBS"
+ ax_cv_curses_color=yes
+ ax_cv_curses_mouse=yes
+ ax_cv_curses_enhanced=yes
+ AC_DEFINE([HAVE_NCURSES_H], [1], [Define to 1 if the Ncurses library is present])
-+ AC_SUBST([CURSES_LIB],[$ncurses_LIBS])
++ AC_SUBST([CURSES_LIB],[$ncursesw_LIBS])
+ ],
+ [AC_MSG_ERROR([No curses support detected.])])
+
@@ -33,7 +35,7 @@
dnl multi-byte character support
AC_ARG_ENABLE([multibyte],
-@@ -207,12 +217,6 @@
+@@ -207,12 +217,6 @@ AM_CONDITIONAL(ENABLE_HELP_SCREEN, test x$enable_help_screen = xyes)
dnl Optional - curses getmouse support