commit:     eb0481e1f984e2babd5effa037c703cc91386aec
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 08:14:12 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 08:15:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0481e1

media-radio/unixcw: Look for ncurses lib during ./configure

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

 media-radio/unixcw/unixcw-3.5.1-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-radio/unixcw/unixcw-3.5.1-r1.ebuild 
b/media-radio/unixcw/unixcw-3.5.1-r1.ebuild
index 09e46e9788f0..3124530b8bd4 100644
--- a/media-radio/unixcw/unixcw-3.5.1-r1.ebuild
+++ b/media-radio/unixcw/unixcw-3.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -30,6 +30,9 @@ src_prepare() {
        append-cxxflags -std=gnu++11
        eapply -p0 "${FILESDIR}"/${PN}-3.5-tinfo.patch \
                "${FILESDIR}"/${PN}-tests.patch
+       # Bug# 837617
+       sed -i -e "s/curses, initscr/ncurses, initscr/" \
+               -e "s/_curses_initscr/_ncurses_initscr/" configure.ac || die
        eapply_user
        eautoreconf
 }

Reply via email to