You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/vifm/files/vifm-0.9.1-fix-ncurses-link...

61 lines
1.5 KiB

From 8196704a5dafa4c8e194f1643728ed45b4b55df6 Mon Sep 17 00:00:00 2001
From: xaizek <xaizek@posteo.net>
Date: Mon, 9 Apr 2018 19:31:06 +0300
Subject: [PATCH] fix ncurses linking
---
THANKS | 2 ++
configure | 2 +-
configure.ac | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/THANKS b/THANKS
index e708f4d3..faab4f8a 100644
--- a/THANKS
+++ b/THANKS
@@ -25,6 +25,7 @@ c02y
Carl Mueller (carlmuller)
Carlos Pita
Charles Kauffman
+Chema Alonso Josa (nimiux)
Christian Fillion (cfillion)
Christian Herdtweck
Christoph (informationen)
@@ -128,6 +129,7 @@ Richard Benson
Robert Sarkozi
Roger Bongers
Ross Hadden (rosshadden)
+Ruslan Osmanov (rosmanov)
Russell Urquhart
SanLe
santhoshr
diff --git a/configure b/configure
index 0054dbde..a3c9bd43 100755
--- a/configure
+++ b/configure
@@ -8707,7 +8707,7 @@ return curs_set ();
return 0;
}
_ACEOF
-for ac_lib in '' tinfo; do
+for ac_lib in '' tinfow; do
if test -z "$ac_lib"; then
ac_res="none required"
else
diff --git a/configure.ac b/configure.ac
index 61b3ed5d..65e550a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,7 +437,7 @@ AC_CHECK_LIB(${curses_lib_name}, initscr,
CPPFLAGS="$CPPFLAGS -I/usr/include/${curses_lib_name}"
fi
ncurses_found=yes]
- AC_SEARCH_LIBS([curs_set], [tinfo],,
+ AC_SEARCH_LIBS([curs_set], [tinfow],,
AC_MSG_ERROR(could not find a library providing curs_set)))
dnl If libncursesw is not found on OS X, check for libncurses. On OS X it has
dnl support of wide characters.
--
2.16.1