summaryrefslogtreecommitdiff
path: root/app-shells/hstr/files/hstr-1.23-tinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/hstr/files/hstr-1.23-tinfo.patch')
-rw-r--r--app-shells/hstr/files/hstr-1.23-tinfo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-shells/hstr/files/hstr-1.23-tinfo.patch b/app-shells/hstr/files/hstr-1.23-tinfo.patch
new file mode 100644
index 000000000000..85a4743c0e94
--- /dev/null
+++ b/app-shells/hstr/files/hstr-1.23-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -76,7 +76,7 @@
+ AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
+ AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
+ # ncurses might be linked in libtinfo
+-#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
++AC_SEARCH_LIBS(keypad, tinfo, [], [AC_MSG_ERROR([Could not find tinfo library])])
+
+ # Checks for header files.
+ AC_CHECK_HEADER(assert.h)