aboutsummaryrefslogtreecommitdiff
path: root/package/kismet
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-12-26 22:08:01 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-27 11:29:09 +0100
commit5aea55e0ee15ccab1021700c56bd17cbfd3f45a4 (patch)
tree11e4c68a652f22f53aed4f04d64d362170d9ca40 /package/kismet
parent8b966c934db6b482fbba4c65cdbc49d1b19b5212 (diff)
downloadbuildroot-5aea55e0ee15ccab1021700c56bd17cbfd3f45a4.tar.gz
buildroot-5aea55e0ee15ccab1021700c56bd17cbfd3f45a4.tar.bz2
package/kismet: do not use host headers
kismet's ./configure hard-codes host paths in its include search paths. Fix that by removing the offending paths. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kismet')
-rw-r--r--package/kismet/0004-no-include-host-paths.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/kismet/0004-no-include-host-paths.patch b/package/kismet/0004-no-include-host-paths.patch
new file mode 100644
index 0000000000..1dcf1200f9
--- /dev/null
+++ b/package/kismet/0004-no-include-host-paths.patch
@@ -0,0 +1,23 @@
+configure: do not hard-code host paths
+
+configure hard-codes include dirs to contain /usr/include/ncurses.
+Needless to say this does not work well for cross-compilation.
+
+Remove that directory from the include search dirs.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+diff -durN kismet-Kismet-2014-02-R1.orig/configure.in kismet-Kismet-2014-02-R1/configure.in
+--- kismet-Kismet-2014-02-R1.orig/configure.in 2014-02-19 05:37:43.000000000 +0100
++++ kismet-Kismet-2014-02-R1/configure.in 2014-12-26 16:46:55.770692349 +0100
+@@ -406,9 +406,6 @@
+ )
+ AC_SUBST(wantclient)
+
+-# Add additional cflags since some distros bury panel.h
+-CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
+-
+ termcontrol="none";
+
+ if test "$wantclient" = "yes"; then