>From 60aad29921a4ff44c4fd14c676228e9f9a707c9c Mon Sep 17 00:00:00 2001 From: Sven Joachim Date: Sat, 3 Dec 2011 11:40:29 +0100 Subject: [PATCH] New patch no-ncurses.patch to not link against ncurses (Closes: #646739) --- debian/patches/no-ncurses.patch | 18 ++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 debian/patches/no-ncurses.patch diff --git a/debian/patches/no-ncurses.patch b/debian/patches/no-ncurses.patch new file mode 100644 index 0000000..28e313b --- /dev/null +++ b/debian/patches/no-ncurses.patch @@ -0,0 +1,18 @@ +--- + lnet/autoconf/lustre-lnet.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/lnet/autoconf/lustre-lnet.m4 ++++ b/lnet/autoconf/lustre-lnet.m4 +@@ -1641,9 +1641,9 @@ + # -------- check for readline if enabled ---- + if test x$enable_readline = xyes ; then + LIBS_save="$LIBS" +- LIBS="-lncurses $LIBS" ++ LIBS="$LIBS" + AC_CHECK_LIB([readline],[readline],[ +- LIBREADLINE="-lreadline -lncurses" ++ LIBREADLINE="-lreadline" + AC_DEFINE(HAVE_LIBREADLINE, 1, [readline library is available]) + ],[ + LIBREADLINE="" diff --git a/debian/patches/series b/debian/patches/series index d58ff1e..6ee5e0d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -24,3 +24,4 @@ spelling_errors.patch cacheflush_remove_mark_rodata.patch 615749_no_add_needed modified-debian-specific-stuff.patch +no-ncurses.patch -- 1.7.7.3