From 9b344adb823c331166e60d7b7297834ca71157a9 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 15 Jul 2019 13:11:53 +0200 Subject: media-sound/sooperlooper: Fixed build with sys-libs/ncurses[tinfo] Thanks-to: Jeroen Roovers Closes: https://bugs.gentoo.org/683738 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler --- .../files/sooperlooper-1.7.3-tinfo.patch | 22 ++++++++++++++++++++++ .../sooperlooper/sooperlooper-1.7.3-r2.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 media-sound/sooperlooper/files/sooperlooper-1.7.3-tinfo.patch 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 000000000000..82694f463839 --- /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 + +--- 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 5d2301bfa9d8..62c837de9ed6 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() { -- cgit v1.2.3-65-gdbad