mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
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>
This commit is contained in:
parent
8b966c934d
commit
5aea55e0ee
23
package/kismet/0004-no-include-host-paths.patch
Normal file
23
package/kismet/0004-no-include-host-paths.patch
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user