summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-24 01:01:09 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-24 01:01:19 +0100
commit0c8cc35d5a53e2de805c244d25a1ced87e9460c4 (patch)
tree1547d749295c5568ab15aa832317cfaeb6287873 /media-sound/cvoicecontrol/files
parentapp-admin/gnome-abrt: Bump to 1.2.7 (diff)
downloadgentoo-0c8cc35d5a53e2de805c244d25a1ced87e9460c4.tar.gz
gentoo-0c8cc35d5a53e2de805c244d25a1ced87e9460c4.tar.bz2
gentoo-0c8cc35d5a53e2de805c244d25a1ced87e9460c4.zip
media-sound/cvoicecontrol: Fixed build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/647166 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound/cvoicecontrol/files')
-rw-r--r--media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch b/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch
new file mode 100644
index 000000000000..2ad44a1d7f42
--- /dev/null
+++ b/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-tinfo.patch
@@ -0,0 +1,10 @@
+--- cvoicecontrol-0.9alpha/configure.in
++++ cvoicecontrol-0.9alpha/configure.in
+@@ -12,6 +12,7 @@
+ AC_CHECK_LIB(pthread, main, [LIBPTHREAD="-lpthread"], LIBPTHREAD= )
+ AC_SUBST(LIBPTHREAD)
+ AC_CHECK_LIB(ncurses, main, [LIBNCURSES="-lncurses"], LIBNCURSES= )
++AC_CHECK_LIB(tinfo, keypad, [LIBNCURSES="$LIBNCURSES -ltinfo"])
+ AC_SUBST(LIBNCURSES)
+ dnl Checks for header files.
+ AC_CHECK_HEADERS(fcntl.h glob.h math.h ncurses.h pthread.h signal.h stdio.h stdlib.h string.h sys/ioctl.h sys/select.h sys/soundcard.h sys/time.h sys/types.h termios.h time.h unistd.h)