summaryrefslogtreecommitdiff
path: root/net-irc/xaric/files/xaric-0.13.6-tinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/xaric/files/xaric-0.13.6-tinfo.patch')
-rw-r--r--net-irc/xaric/files/xaric-0.13.6-tinfo.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-irc/xaric/files/xaric-0.13.6-tinfo.patch b/net-irc/xaric/files/xaric-0.13.6-tinfo.patch
new file mode 100644
index 000000000000..0fcfe3aa1846
--- /dev/null
+++ b/net-irc/xaric/files/xaric-0.13.6-tinfo.patch
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -279,9 +279,10 @@
+ olibs="$LIBS"
+ AC_CHECK_LIB(termcap, tgetent, LIBS="-ltermcap $olibs",
+ AC_CHECK_LIB(termlib, tgetent, LIBS="-ltermlib $olibs",
+- AC_CHECK_LIB(curses, tgetent, LIBS="-lcurses $olibs",
+- AC_CHECK_LIB(xtermcap, tgetent, LIBS="-lxtermcap $olibs",
+- AC_MSG_ERROR([i can not find tgetent. you need to help me])))))
++ AC_CHECK_LIB(tinfo, tgetent, LIBS="-ltinfo $olibs",
++ AC_CHECK_LIB(curses, tgetent, LIBS="-lcurses $olibs",
++ AC_CHECK_LIB(xtermcap, tgetent, LIBS="-lxtermcap $olibs",
++ AC_MSG_ERROR([i can not find tgetent. you need to help me]))))))
+ fi
+
+ dnl ----------------------------------------------------------