Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/tcsh/files/, app-shells/tcsh/
Date: Sun, 21 Jul 2019 12:46:36
Message-Id: 1563712859.1c95732b0f076590596bb71dce1d5f79b102d6a1.grobian@gentoo
1 commit: 1c95732b0f076590596bb71dce1d5f79b102d6a1
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 21 12:40:45 2019 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 21 12:40:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c95732b
7
8 app-shells/tcsh: fix linking on some Prefix platforms
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11 Package-Manager: Portage-2.3.66, Repoman-2.3.11
12
13 app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch | 11 +++++++++++
14 app-shells/tcsh/tcsh-6.21.00.ebuild | 1 +
15 2 files changed, 12 insertions(+)
16
17 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
18 new file mode 100644
19 index 00000000000..d268474d978
20 --- /dev/null
21 +++ b/app-shells/tcsh/files/tcsh-6.21.00-use-ncurses.patch
22 @@ -0,0 +1,11 @@
23 +--- tcsh-6.21.00/configure.ac
24 ++++ tcsh-6.21.00/configure.ac
25 +@@ -317,7 +317,7 @@
26 + dnl Checks for libraries
27 + AC_SEARCH_LIBS(crypt, crypt)
28 + AC_SEARCH_LIBS(getspnam, sec)
29 +-AC_SEARCH_LIBS([tgetent], [termlib tinfo termcap curses ncurses], [], [
30 ++AC_SEARCH_LIBS([tgetent], [tinfo ncurses], [], [
31 + AC_MSG_ERROR([unable to find the tgetent() function])
32 + ])
33 + AC_SEARCH_LIBS(gethostbyname, nsl)
34
35 diff --git a/app-shells/tcsh/tcsh-6.21.00.ebuild b/app-shells/tcsh/tcsh-6.21.00.ebuild
36 index c4e52506794..3dc6aa72e6b 100644
37 --- a/app-shells/tcsh/tcsh-6.21.00.ebuild
38 +++ b/app-shells/tcsh/tcsh-6.21.00.ebuild
39 @@ -33,6 +33,7 @@ PATCHES=(
40 "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792
41 "${FILESDIR}"/${PN}-6.18.01-aix.patch
42 "${FILESDIR}"/${PN}-6.21.00-no-nls.patch
43 + "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch
44 )
45
46 src_prepare() {