summaryrefslogtreecommitdiff
path: root/sys-apps/duc/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
commit06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch)
tree8d58c1f4b049da677b33209b072f2b3057268fe0 /sys-apps/duc/files
parent99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff)
gentoo resync : 02.03.2018
Diffstat (limited to 'sys-apps/duc/files')
-rw-r--r--sys-apps/duc/files/duc-1.4.1-tinfo.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/duc/files/duc-1.4.1-tinfo.patch b/sys-apps/duc/files/duc-1.4.1-tinfo.patch
new file mode 100644
index 000000000000..74f0529d6741
--- /dev/null
+++ b/sys-apps/duc/files/duc-1.4.1-tinfo.patch
@@ -0,0 +1,23 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -138,8 +138,8 @@
+ if test "${enable_ui}" = "yes"; then
+ AC_DEFINE([ENABLE_UI], [1], [Enable ui])
+
+- AC_CHECK_LIB([ncursesw], [tputs],, [
+- AC_CHECK_LIB([ncurses], [tputs],, [
++ AC_CHECK_LIB([ncursesw], [touchwin],, [
++ AC_CHECK_LIB([ncurses], [touchwin],, [
+ AC_MSG_ERROR([
+ The ncurses library was not found, which is needed for ui support. Either install
+ the ncurses development libraries, or compile without ui support (--disable-ui)
+@@ -148,6 +148,9 @@
+ ])
+ fi
+
++AC_SEARCH_LIBS([tputs], [tinfo],, [
++ AC_MSG_ERROR([No library was found providing tputs])
++])
+
+ if test "${enable_x11}" = "yes"; then
+ test "${enable_cairo}" != "yes" && AC_MSG_ERROR([cairo must be enabled for x11])