commit:     0ad6c0d19bce05ae140c235cdeeefadba2cd8516
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 08:11:24 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 08:12:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad6c0d1

media-radio/unixcw: Fix dependency on -lcurses

Closes: https://bugs.gentoo.org/858278
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/unixcw/unixcw-3.6.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

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
 }

Reply via email to