diff options
Diffstat (limited to 'sys-fs/ocfs2-tools/ncurses.patch')
-rw-r--r-- | sys-fs/ocfs2-tools/ncurses.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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 |