mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
app-shells/hstr: add back tinfo patch.
Closes: https://bugs.gentoo.org/644750 Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
11
app-shells/hstr/files/hstr-1.24-tinfo.patch
Normal file
11
app-shells/hstr/files/hstr-1.24-tinfo.patch
Normal file
@@ -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)
|
||||
@@ -20,6 +20,7 @@ DEPEND="
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( CONFIGURATION.md README.md )
|
||||
PATCHES=( "${FILESDIR}/${P}-tinfo.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user