From 1347bd876a85211b0f220269218aa91931f44500 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 10 Nov 2019 17:48:13 +0000 Subject: ncurses lib patch --- sys-fs/ocfs2-tools/ncurses.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys-fs/ocfs2-tools/ncurses.patch (limited to 'sys-fs/ocfs2-tools') diff --git a/sys-fs/ocfs2-tools/ncurses.patch b/sys-fs/ocfs2-tools/ncurses.patch new file mode 100644 index 0000000..63f499e --- /dev/null +++ b/sys-fs/ocfs2-tools/ncurses.patch @@ -0,0 +1,21 @@ +diff --git a/configure.in b/configure.in +index 031487f0..f405a27c 100644 +--- a/configure.in ++++ b/configure.in +@@ -124,14 +124,14 @@ AC_CHECK_HEADER(libaio.h, :, + AC_SUBST(AIO_LIBS) + + NCURSES_LIBS= +-AC_CHECK_LIB(ncurses, tgetstr, NCURSES_LIBS=-lncurses) ++AC_CHECK_LIB(tinfo, tgetstr, NCURSES_LIBS=-ltinfo) + if test "x$NCURSES_LIBS" = "x"; then + AC_MSG_ERROR([Unable to find ncurses library]) + fi + AC_SUBST(NCURSES_LIBS) + + saved_LDFLAGS="$LDFLAGS" +-LDFLAGS="$LDFLAGS -lncurses" ++LDFLAGS="$LDFLAGS -ltinfo" + READLINE_LIBS= + AC_CHECK_LIB(readline, readline, READLINE_LIBS=-lreadline) + if test "x$READLINE_LIBS" = "x"; then -- cgit v1.2.3