0004-no-include-host-paths.patch 901 B

12345678910111213141516171819202122232425
  1. configure: do not hard-code host paths
  2. configure hard-codes include dirs to contain /usr/include/ncurses.
  3. Needless to say this does not work well for cross-compilation.
  4. Remove that directory from the include search dirs.
  5. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  6. Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
  7. [bernd.kuhls@t-online.de: update for 2016-07-R1]
  8. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  9. diff -durN kismet-Kismet-2014-02-R1.orig/configure.in kismet-Kismet-2014-02-R1/configure.in
  10. --- kismet-Kismet-2014-02-R1.orig/configure.ac 2014-02-19 05:37:43.000000000 +0100
  11. +++ kismet-Kismet-2014-02-R1/configure.ac 2014-12-26 16:46:55.770692349 +0100
  12. @@ -406,9 +406,6 @@
  13. )
  14. AC_SUBST(wantclient)
  15. -# Add additional cflags since some distros bury panel.h
  16. -CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
  17. -
  18. termcontrol="none";
  19. if test "$wantclient" = "yes"; then