diff options
Diffstat (limited to 'app-backup/burp/files/1.4.34-tinfo.patch')
-rw-r--r-- | app-backup/burp/files/1.4.34-tinfo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-backup/burp/files/1.4.34-tinfo.patch b/app-backup/burp/files/1.4.34-tinfo.patch new file mode 100644 index 000000000000..081492261685 --- /dev/null +++ b/app-backup/burp/files/1.4.34-tinfo.patch @@ -0,0 +1,22 @@ +diff -Naur burp/configure.ac burp-new/configure.ac +--- burp/configure.ac 2014-10-28 12:45:56.000000000 +0100 ++++ burp-new/configure.ac 2014-11-10 17:40:50.996955441 +0100 +@@ -1203,13 +1203,12 @@ + fi + + AC_CHECK_HEADERS(ncurses.h) +-AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"]) + have_ncurses=no +-if test x$NCURSES_LIBS = x-lncurses; then +- AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) +- have_ncurses=yes +-fi +-AC_SUBST(NCURSES_LIBS) ++AC_CHECK_LIB(ncurses, endwin, ++ [NCURSES_LIBS="-lncurses"; have_ncurses=yes] ++ AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]), ++ AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) ++ AC_SUBST(NCURSES_LIBS)) + + dnl + dnl Check if we have AFS on this system |