[LEDE-DEV] [PATCH] iftop: Update to latest version, and drop patch
Russell Senior
russell at personaltelco.net
Sat May 7 02:41:23 PDT 2016
>>>>> "John" == John Crispin <john at phrozen.org> writes:
> On 05/05/2016 15:16, Bert Vermeulen wrote:
>> The patch made sure the ncursesw library was not selected to save
>> space, but that library doesn't exist in this distribution at all.
> are you sure that ncursesw is not inside any of the feeds either ?
Hey, I recognize that patch! ;-)
ncursesw does appear to still exist, e.g.:
$ git grep ncursesw
package/libs/ncurses/Makefile:define Package/libncursesw
package/libs/ncurses/Makefile: VARIANT:=libncursesw
package/libs/ncurses/Makefile:ifeq ($(BUILD_VARIANT),libncursesw)
package/libs/ncurses/Makefile: --includedir="/usr/include/ncursesw" \
package/libs/ncurses/Makefile:define Package/libncursesw/install
package/libs/ncurses/Makefile:ifeq ($(BUILD_VARIANT),libncursesw)
package/libs/ncurses/Makefile: $(INSTALL_DIR) $(1)/usr/include/ncursesw/
package/libs/ncurses/Makefile: $(CP) $(PKG_INSTALL_DIR)/usr/include/ncursesw/*.h $(1)/usr/include/ncursesw/
package/libs/ncurses/Makefile: $(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/
package/libs/ncurses/Makefile: $(2)/bin/ncursesw5-config
package/libs/ncurses/Makefile: ln -sf $(STAGING_DIR)/host/bin/ncursesw5-config $(1)/usr/bin/ncursesw5-config
package/libs/ncurses/Makefile:$(eval $(call BuildPackage,libncursesw))
package/network/utils/iftop/patches/0001-force-ncurses.patch:-for curseslib in ncursesw curses ncurses ; do
scripts/config/lxdialog/check-lxdialog.sh: pkg-config --libs ncursesw 2>/dev/null && exit
scripts/config/lxdialog/check-lxdialog.sh: for lib in ncursesw ncurses curses ; do
scripts/config/lxdialog/check-lxdialog.sh: if pkg-config --cflags ncursesw 2>/dev/null; then
scripts/config/lxdialog/check-lxdialog.sh: elif [ -f /usr/include/ncursesw/curses.h ]; then
scripts/config/lxdialog/check-lxdialog.sh: echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"'
--
Russell Senior, President
russell at personaltelco.net
More information about the Lede-dev
mailing list