summaryrefslogtreecommitdiff
path: root/sys-cluster/wulfware/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-24 17:22:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-24 17:22:19 +0000
commitaa3411e241a201d53a2689766fe419f2756819f3 (patch)
treecc19adfde0a10aab1ab566c8dfe3c1616e5cc390 /sys-cluster/wulfware/files
parentb7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (diff)
gentoo resync : 24.03.2019
Diffstat (limited to 'sys-cluster/wulfware/files')
-rw-r--r--sys-cluster/wulfware/files/wulfware-2.6.0-tinfo.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-cluster/wulfware/files/wulfware-2.6.0-tinfo.patch b/sys-cluster/wulfware/files/wulfware-2.6.0-tinfo.patch
new file mode 100644
index 000000000000..7e88e621d91e
--- /dev/null
+++ b/sys-cluster/wulfware/files/wulfware-2.6.0-tinfo.patch
@@ -0,0 +1,22 @@
+--- wulfware-2.6.0/configure.ac
++++ wulfware-2.6.0/configure.ac
+@@ -61,6 +61,8 @@
+
+ # Checks for libraries.
+ # FIXME: Replace `main' with a function in `-lcurses':
++AC_CHECK_LIB([tinfo], [main], TINFO_LIBS=-ltinfo, TINFO_LIBS=)
++AC_SUBST(TINFO_LIBS)
+ AC_CHECK_LIB([curses], [main])
+ # FIXME: Replace `main' with a function in `-lm':
+ AC_CHECK_LIB([m], [main])
+--- wulfware-2.6.0/wulfstat/Makefile.am
++++ wulfware-2.6.0/wulfstat/Makefile.am
+@@ -63,7 +63,7 @@
+ LDFLAGS =
+
+ # Libraries
+-LIBS = -L ../libwulf -lwulf -lpthread -lcurses -lxml2 -lm
++LIBS = -L ../libwulf -lwulf -lpthread -lcurses $(TINFO_LIBS) -lxml2 -lm
+
+ #========================================================================
+ # List of variants one can make. all is the default. We always