--- /dev/null
+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)
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
"${FILESDIR}"/${P}-wx3.0.patch
"${FILESDIR}"/${P}-libsigc28.patch
"${FILESDIR}"/${P}-clash.patch
+ "${FILESDIR}"/${P}-tinfo.patch
)
src_prepare() {