From 1c95732b0f076590596bb71dce1d5f79b102d6a1 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 21 Jul 2019 14:40:45 +0200 Subject: app-shells/tcsh: fix linking on some Prefix platforms Signed-off-by: Fabian Groffen 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(+) create mode 100644 app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch (limited to 'app-shells/tcsh') 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() { -- cgit v1.2.3