File pinentry-0.8.1-tinfo.patch of Package pinentry

---
 m4/curses.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: pinentry-0.8.3/m4/curses.m4
===================================================================
--- pinentry-0.8.3.orig/m4/curses.m4	2013-08-19 22:44:42.000000000 +0100
+++ pinentry-0.8.3/m4/curses.m4	2013-08-19 22:44:56.000000000 +0100
@@ -28,7 +28,7 @@ AC_DEFUN([IU_LIB_NCURSES], [
   AC_ARG_ENABLE(ncurses,    [  --disable-ncurses       don't prefer -lncurses over -lcurses],
               , enable_ncurses=yes)
   if test "$enable_ncurses" = yes; then
-    AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES="-lncursesw",
+    AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES="-lncursesw -ltinfo",
       AC_CHECK_LIB(ncurses, initscr, LIBNCURSES="-lncurses"))
     if test "$ac_cv_lib_ncursesw_initscr" = yes; then
       have_ncursesw=yes
openSUSE Build Service is sponsored by