openwrt/package/network/utils/iftop/patches/0001-force-ncurses.patch
Florian Fainelli 8fc2b30281 iftop: update iftop to 1.0pre2
Most significantly, includes IPv6 support.  This version forces
libncurses, by patching the configure script, instead of allowing
libncursesw, saving (~65k) image space.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 33782
2012-10-16 15:49:49 +00:00

13 lines
555 B
Diff

diff -ru iftop-1.0pre2-old/configure iftop-1.0pre2/configure
--- iftop-1.0pre2-old/configure 2011-10-04 13:30:30.000000000 -0700
+++ iftop-1.0pre2/configure 2012-09-09 22:26:05.000000000 -0700
@@ -7568,7 +7568,7 @@
{ $as_echo "$as_me:$LINENO: checking for a curses library containing mvchgat" >&5
$as_echo_n "checking for a curses library containing mvchgat... " >&6; }
oldLIBS=$LIBS
-for curseslib in ncursesw curses ncurses ; do
+for curseslib in ncurses ; do
LIBS="$oldLIBS -l$curseslib"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */