summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-09-18 06:30:22 +0200
committerJeroen Roovers <jer@gentoo.org>2015-09-18 06:30:45 +0200
commit20e31adef496d2ee3afd8a694b033d7b33e0849a (patch)
tree9437a27e4d7ba291cfab642993537a2820434d8d /net-news/newsbeuter
parentsci-mathematics/maxima: cleaning 5.37.1-r1 (diff)
downloadgentoo-20e31adef496d2ee3afd8a694b033d7b33e0849a.tar.gz
gentoo-20e31adef496d2ee3afd8a694b033d7b33e0849a.tar.bz2
gentoo-20e31adef496d2ee3afd8a694b033d7b33e0849a.zip
net-news/newsbeuter: Fix building against sys-libs/ncurses-6 (bug #557608 by avx).
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-news/newsbeuter')
-rw-r--r--net-news/newsbeuter/files/newsbeuter-2.9-ncurses6.patch11
-rw-r--r--net-news/newsbeuter/newsbeuter-2.9.ebuild3
2 files changed, 13 insertions, 1 deletions
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
}