net-news/newsbeuter: Fix building against sys-libs/ncurses-6 (bug #557608 by avx).

Package-Manager: portage-2.2.20.1
This commit is contained in:
Jeroen Roovers
2015-09-18 06:30:22 +02:00
parent ffbada8469
commit 20e31adef4
2 changed files with 13 additions and 1 deletions

View File

@@ -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

View File

@@ -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
}