summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch')
-rw-r--r--app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch b/app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch
new file mode 100644
index 000000000000..8399412f0cf1
--- /dev/null
+++ b/app-admin/lnav/files/lnav-0.9.0-bug639332-tinfow.patch
@@ -0,0 +1,10 @@
+--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500
++++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500
+@@ -216,6 +216,8 @@
+ ax_cv_curses=yes
+ ax_cv_curses_which=ncursesw
+ CURSES_LIB="-lncursesw"
++ temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'`
++ ax_saved_LIBS=$temp_lib
+ AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present])
+ AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present])