diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-11-10 17:48:13 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-11-10 17:48:13 +0000 |
commit | 1347bd876a85211b0f220269218aa91931f44500 (patch) | |
tree | ee91c86c6b5d31cc01f4e34bba7fa2c5d4ad1e82 /sys-fs/ocfs2-tools | |
parent | MySQL include patch (diff) | |
download | patches-1347bd876a85211b0f220269218aa91931f44500.tar.bz2 patches-1347bd876a85211b0f220269218aa91931f44500.tar.xz patches-1347bd876a85211b0f220269218aa91931f44500.zip |
ncurses lib patch
Diffstat (limited to 'sys-fs/ocfs2-tools')
-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 |