summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-07-15 13:11:53 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-07-15 13:12:14 +0200
commit9b344adb823c331166e60d7b7297834ca71157a9 (patch)
tree9e5e26a79bc1a8b11baeec62fda8927a9484c543
parentdev-perl/libintl-perl: Bump to version 1.310.0 (diff)
downloadgentoo-9b344adb823c331166e60d7b7297834ca71157a9.tar.gz
gentoo-9b344adb823c331166e60d7b7297834ca71157a9.tar.bz2
gentoo-9b344adb823c331166e60d7b7297834ca71157a9.zip
media-sound/sooperlooper: Fixed build with sys-libs/ncurses[tinfo]
Thanks-to: Jeroen Roovers <jer@gentoo.org> Closes: https://bugs.gentoo.org/683738 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--media-sound/sooperlooper/files/sooperlooper-1.7.3-tinfo.patch22
-rw-r--r--media-sound/sooperlooper/sooperlooper-1.7.3-r2.ebuild3
2 files changed, 24 insertions, 1 deletions
diff --git a/media-sound/sooperlooper/files/sooperlooper-1.7.3-tinfo.patch b/media-sound/sooperlooper/files/sooperlooper-1.7.3-tinfo.patch
new file mode 100644
index 00000000000..82694f46383
--- /dev/null
+++ b/media-sound/sooperlooper/files/sooperlooper-1.7.3-tinfo.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/683738
+
+Thanks-to: Jeroen Roovers <jer@gentoo.org>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -214,10 +216,11 @@
+ AC_SUBST(LOSC_CFLAGS)
+
+ dnl curses
+- AC_CHECK_LIB(ncurses,initscr,have_ncurses=yes,[AC_MSG_WARN([******** you don't have the ncurses library correctly installed])])
+-
+- NCURSES_LIBS=-lncurses
+- AC_SUBST(NCURSES_LIBS)
++ PKG_CHECK_MODULES([NCURSES], [ncurses], [have_ncurses=yes],
++ AC_CHECK_LIB(ncurses, initscr, have_ncurses=yes,
++ [AC_MSG_WARN([******** you don't have the ncurses library correctly installed])]
++ )
++ )
+
+ dnl sigc++
+ PKG_CHECK_MODULES(SIGCPP, sigc++-2.0 >= 2.2.10)
diff --git a/media-sound/sooperlooper/sooperlooper-1.7.3-r2.ebuild b/media-sound/sooperlooper/sooperlooper-1.7.3-r2.ebuild
index 5d2301bfa9d..62c837de9ed 100644
--- a/media-sound/sooperlooper/sooperlooper-1.7.3-r2.ebuild
+++ b/media-sound/sooperlooper/sooperlooper-1.7.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -40,6 +40,7 @@ PATCHES=(
"${FILESDIR}"/${P}-wx3.0.patch
"${FILESDIR}"/${P}-libsigc28.patch
"${FILESDIR}"/${P}-clash.patch
+ "${FILESDIR}"/${P}-tinfo.patch
)
src_prepare() {