From 20e31adef496d2ee3afd8a694b033d7b33e0849a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 18 Sep 2015 06:30:22 +0200 Subject: [PATCH] net-news/newsbeuter: Fix building against sys-libs/ncurses-6 (bug #557608 by avx). Package-Manager: portage-2.2.20.1 --- .../newsbeuter/files/newsbeuter-2.9-ncurses6.patch | 11 +++++++++++ net-news/newsbeuter/newsbeuter-2.9.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 net-news/newsbeuter/files/newsbeuter-2.9-ncurses6.patch diff --git a/net-news/newsbeuter/files/newsbeuter-2.9-ncurses6.patch b/net-news/newsbeuter/files/newsbeuter-2.9-ncurses6.patch new file mode 100644 index 000000000000..f645d7c53fcb --- /dev/null +++ b/net-news/newsbeuter/files/newsbeuter-2.9-ncurses6.patch @@ -0,0 +1,11 @@ +--- a/config.sh ++++ b/config.sh +@@ -110,7 +110,7 @@ + if [ `uname -s` = "Darwin" ]; then + check_custom "ncurses5.4" "ncurses5.4-config" || fail "ncurses5.4" + elif [ `uname -s` != "OpenBSD" ]; then +- check_custom "ncursesw5" "ncursesw5-config" || fail "ncursesw" ++ check_pkg "ncursesw" || fail "ncursesw" + fi + check_ssl_implementation + all_aboard_the_fail_boat diff --git a/net-news/newsbeuter/newsbeuter-2.9.ebuild b/net-news/newsbeuter/newsbeuter-2.9.ebuild index 783def2a5240..8b1862ffc9e4 100644 --- a/net-news/newsbeuter/newsbeuter-2.9.ebuild +++ b/net-news/newsbeuter/newsbeuter-2.9.ebuild @@ -4,7 +4,7 @@ EAPI="5" -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="A RSS/Atom feed reader for the text console" HOMEPAGE="http://www.newsbeuter.org/index.html" @@ -34,6 +34,7 @@ DEPEND="${RDEPEND} RESTRICT="test" src_prepare() { + epatch "${FILESDIR}"/${PN}-2.9-ncurses6.patch sed -i 's:-ggdb::' Makefile || die } -- 2.26.2