summaryrefslogtreecommitdiff
path: root/app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-01-19 12:37:05 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-01-19 12:37:05 +0200
commit23eb9e15e1e7cb6abf7937799e31cd951bce04bf (patch)
treefb92180cc07e9270e0ea2adf0d65b8ffe6f9152e /app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch
parenta5ae910fae4def8bea0cb7737f33e943e10eaa43 (diff)
Added app-crypt ebuilds
Diffstat (limited to 'app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch')
-rw-r--r--app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch b/app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch
new file mode 100644
index 00000000..3bb92c63
--- /dev/null
+++ b/app-crypt/pinentry-base/files/pinentry-0.8.2-ncurses.patch
@@ -0,0 +1,25 @@
+From bafe8608fc525ef103b3d1f3048ca28958bef596 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Sun, 5 May 2013 02:23:08 +0300
+Subject: [PATCH] ncurses: link with optional tinfo
+
+---
+ m4/curses.m4 | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/m4/curses.m4 b/m4/curses.m4
+index 3a01881..ffb6bd1 100644
+--- a/m4/curses.m4
++++ b/m4/curses.m4
+@@ -36,6 +36,8 @@ AC_DEFUN([IU_LIB_NCURSES], [
+ have_ncursesw=no
+ fi
+ if test "$LIBNCURSES"; then
++ AC_CHECK_LIB(tinfow, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfow",
++ AC_CHECK_LIB(tinfo, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfo"))
+ # Use ncurses header files instead of the ordinary ones, if possible;
+ # is there a better way of doing this, that avoids looking in specific
+ # directories?
+--
+1.8.1.5
+