summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-04-15 10:14:12 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-04-15 10:15:25 +0200
commiteb0481e1f984e2babd5effa037c703cc91386aec (patch)
tree16ccb6d2c8f291f69b3cf8f1ca9221ea0c0cb7f1 /media-radio/unixcw/unixcw-3.5.1-r1.ebuild
parentmedia-video/pipewire: fix spa header (diff)
downloadgentoo-eb0481e1f984e2babd5effa037c703cc91386aec.tar.gz
gentoo-eb0481e1f984e2babd5effa037c703cc91386aec.tar.bz2
gentoo-eb0481e1f984e2babd5effa037c703cc91386aec.zip
media-radio/unixcw: Look for ncurses lib during ./configure
Closes: https://bugs.gentoo.org/837617 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/unixcw/unixcw-3.5.1-r1.ebuild')
-rw-r--r--media-radio/unixcw/unixcw-3.5.1-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
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
}