summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-07-16 10:11:24 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-07-16 10:12:03 +0200
commit0ad6c0d19bce05ae140c235cdeeefadba2cd8516 (patch)
tree2c034c0a7697d92edd7ed6889d1513d2f73a49d7 /media-radio/unixcw
parentdev-ruby/activerecord: restrict minitest version (diff)
downloadgentoo-0ad6c0d19bce05ae140c235cdeeefadba2cd8516.tar.gz
gentoo-0ad6c0d19bce05ae140c235cdeeefadba2cd8516.tar.bz2
gentoo-0ad6c0d19bce05ae140c235cdeeefadba2cd8516.zip
media-radio/unixcw: Fix dependency on -lcurses
Closes: https://bugs.gentoo.org/858278 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/unixcw')
-rw-r--r--media-radio/unixcw/unixcw-3.6.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/media-radio/unixcw/unixcw-3.6.0.ebuild b/media-radio/unixcw/unixcw-3.6.0.ebuild
index fa0f69b925ac..63bd0a25d521 100644
--- a/media-radio/unixcw/unixcw-3.6.0.ebuild
+++ b/media-radio/unixcw/unixcw-3.6.0.ebuild
@@ -29,6 +29,9 @@ src_prepare() {
append-cflags -std=gnu11
append-cxxflags -std=gnu++11
eapply -p0 "${FILESDIR}"/$PN-3.6-tinfo.patch
+ # Bug# 837617 and 858278
+ sed -i -e "s/curses, initscr/ncurses, initscr/" \
+ -e "s/_curses_initscr/_ncurses_initscr/" configure.ac || die
eapply_user
eautoreconf
}