summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-03-02 10:52:54 +0100
committerJeroen Roovers <jer@gentoo.org>2018-03-02 10:53:31 +0100
commitb3a7ba62e60163c5d63b376ec23711fd7626ecb0 (patch)
treedb816c9bd79d2eee36850f580717c410c804e007 /media-sound/ecasound/files
parentmedia-sound/ecasound: Clean up patch. (diff)
downloadgentoo-b3a7ba62e60163c5d63b376ec23711fd7626ecb0.tar.gz
gentoo-b3a7ba62e60163c5d63b376ec23711fd7626ecb0.tar.bz2
gentoo-b3a7ba62e60163c5d63b376ec23711fd7626ecb0.zip
media-sound/ecasound: Fix building against sys-libs/ncurses[tinfo] (bug #609776).
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound/ecasound/files')
-rw-r--r--media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch b/media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch
new file mode 100644
index 000000000000..c4953420b18c
--- /dev/null
+++ b/media-sound/ecasound/files/ecasound-2.9.1-tinfo.patch
@@ -0,0 +1,21 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -810,7 +810,9 @@
+ dnl switch to C for testing
+ AC_LANG_C
+
+-AC_CHECK_LIB(ncurses, main, termcap_library=ncurses,
++AC_CHECK_LIB(ncurses, main,
++ [termcap_library=ncurses]
++ AC_SEARCH_LIBS(tigetstr, tinfo),
+ AC_CHECK_LIB(termcap, main, termcap_library=termcap,
+ termcap_library=none))
+
+@@ -821,6 +823,7 @@
+ y | yes)
+ AC_MSG_RESULT(yes)
+ termcap_library=ncurses
++
+ ;;
+
+ n | no)