summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-11-15 00:42:13 +0000
committerJeroen Roovers <jer@gentoo.org>2014-11-15 00:42:13 +0000
commit11cd4515dd2c9191cfea98187b331e5978b687cd (patch)
tree6851df4f54237cd23e91a36af945f8d9c0e70d3e /net-mail/up-imapproxy/files
parentStable for HPPA (bug #529126). (diff)
downloadgentoo-2-11cd4515dd2c9191cfea98187b331e5978b687cd.tar.gz
gentoo-2-11cd4515dd2c9191cfea98187b331e5978b687cd.tar.bz2
gentoo-2-11cd4515dd2c9191cfea98187b331e5978b687cd.zip
Fix building against sys-libs/ncurses[tinfo] (bug #527570).
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-mail/up-imapproxy/files')
-rw-r--r--net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch b/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch
new file mode 100644
index 000000000000..cbe19e8c0eb7
--- /dev/null
+++ b/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch
@@ -0,0 +1,20 @@
+--- a/configure.in
++++ b/configure.in
+@@ -121,12 +121,16 @@
+ save_LIBS="$LIBS"
+ LIB_CURSES=""
+ AC_CHECK_LIB(curses, initscr, LIB_CURSES="-lcurses", [ curses_found=no ])
+-if test "$curses_found" == no; then
++if test "$curses_found" = no; then
+ AC_CHECK_LIB(ncurses, initscr, LIB_CURSES="-lncurses",
+ AC_ERROR([Can't compile without curses!!!]))
+ fi
+
+ LIBS="$save_LIBS"
++
++AC_SEARCH_LIBS(stdscr, tinfo curses ncurses, [LIB_CURSES="$LIB_CURSES $ac_cv_search_stdscr"],
++ AC_MSG_ERROR([Cannot find a library providing stdscr]))
++
+ AC_SUBST(LIB_CURSES)
+
+