From 14e3ff696f902905b8feb4f2ff888c1f3fb97e92 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 21 Feb 2010 21:37:29 +0000 Subject: [PATCH] [packages] kismet: Don't add host include paths SVN-Revision: 19805 --- net/kismet/Makefile | 2 +- .../patches/010-dont-add-host-include-paths.patch | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 net/kismet/patches/010-dont-add-host-include-paths.patch diff --git a/net/kismet/Makefile b/net/kismet/Makefile index 94bfafe53a..d3ab3adfdb 100644 --- a/net/kismet/Makefile +++ b/net/kismet/Makefile @@ -83,7 +83,7 @@ CONFIGURE_ARGS += \ CONFIGURE_VARS += \ CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \ + CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ LDFLAGS="$$$$LDFLAGS" \ LIBS="-nodefaultlibs -luClibc++ -lm -lgcc" \ CLIENTCLIBS="-nodefaultlibs -luClibc++ -lm -lgcc" \ diff --git a/net/kismet/patches/010-dont-add-host-include-paths.patch b/net/kismet/patches/010-dont-add-host-include-paths.patch new file mode 100644 index 0000000000..23a87bdcf4 --- /dev/null +++ b/net/kismet/patches/010-dont-add-host-include-paths.patch @@ -0,0 +1,14 @@ +diff --git a/configure b/configure +index 6936a47..9a85269 100755 +--- a/configure ++++ b/configure +@@ -6980,9 +6980,6 @@ else + fi + + +-# Add additional cflags since some distros bury panel.h +-CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses" +- + termcontrol="none"; + + if test "$wantclient" = "yes"; then -- 2.30.2