From a18f2a8279039f7c814eee3dbb1210dc8ce65d2a Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 21 Feb 2010 21:37:29 +0000 Subject: [PATCH] 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 94bfafe53..d3ab3adfd 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 000000000..23a87bdcf --- /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