commit:     1c95732b0f076590596bb71dce1d5f79b102d6a1
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 12:40:45 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 12:40:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c95732b

app-shells/tcsh: fix linking on some Prefix platforms

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch | 11 +++++++++++
 app-shells/tcsh/tcsh-6.21.00.ebuild                  |  1 +
 2 files changed, 12 insertions(+)

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 00000000000..d268474d978
--- /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 c4e52506794..3dc6aa72e6b 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() {

Reply via email to