summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-07-21 14:40:45 +0200
committerFabian Groffen <grobian@gentoo.org>2019-07-21 14:40:59 +0200
commit1c95732b0f076590596bb71dce1d5f79b102d6a1 (patch)
tree80ec6162cdaee96c87d5589121bb2bcbbafdc603
parentdev-libs/spdlog: fix patch of live ebuild (diff)
downloadgentoo-1c95732b0f076590596bb71dce1d5f79b102d6a1.tar.gz
gentoo-1c95732b0f076590596bb71dce1d5f79b102d6a1.tar.bz2
gentoo-1c95732b0f076590596bb71dce1d5f79b102d6a1.zip
app-shells/tcsh: fix linking on some Prefix platforms
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
-rw-r--r--app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch11
-rw-r--r--app-shells/tcsh/tcsh-6.21.00.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch b/app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch
new file mode 100644
index 000000000000..d268474d9783
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch
@@ -0,0 +1,11 @@
+--- tcsh-6.21.00/configure.ac
++++ tcsh-6.21.00/configure.ac
+@@ -317,7 +317,7 @@
+ dnl Checks for libraries
+ AC_SEARCH_LIBS(crypt, crypt)
+ AC_SEARCH_LIBS(getspnam, sec)
+-AC_SEARCH_LIBS([tgetent], [termlib tinfo termcap curses ncurses], [], [
++AC_SEARCH_LIBS([tgetent], [tinfo ncurses], [], [
+ AC_MSG_ERROR([unable to find the tgetent() function])
+ ])
+ AC_SEARCH_LIBS(gethostbyname, nsl)
diff --git a/app-shells/tcsh/tcsh-6.21.00.ebuild b/app-shells/tcsh/tcsh-6.21.00.ebuild
index c4e52506794f..3dc6aa72e6bf 100644
--- a/app-shells/tcsh/tcsh-6.21.00.ebuild
+++ b/app-shells/tcsh/tcsh-6.21.00.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792
"${FILESDIR}"/${PN}-6.18.01-aix.patch
"${FILESDIR}"/${PN}-6.21.00-no-nls.patch
+ "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch
)
src_prepare() {