media-sound/sooperlooper: Fixed build with sys-libs/ncurses[tinfo]
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 15 Jul 2019 11:11:53 +0000 (13:11 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 15 Jul 2019 11:12:14 +0000 (13:12 +0200)
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>
media-sound/sooperlooper/files/sooperlooper-1.7.3-tinfo.patch [new file with mode: 0644]
media-sound/sooperlooper/sooperlooper-1.7.3-r2.ebuild

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 (file)
index 0000000..82694f4
--- /dev/null
@@ -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)
index 5d2301bfa9d896552defe467f5b069d6c798cffc..62c837de9ed6290e74b30194c99b263f60c7aaba 100644 (file)
@@ -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() {