aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch
diff options
context:
space:
mode:
authorChunrong Guo <B40290@freescale.com>2013-11-04 10:39:56 +0800
committerJoe MacDonald <joe@deserted.net>2013-11-20 16:28:42 -0500
commit881eb77ac627a1a64be0efa81ce074ecc362b4c7 (patch)
tree93efa0df2686dc9546f9b9a9c065eef26cf26833 /meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch
parent8265d2bbc2342ceafe381143baa45f04dfafd45a (diff)
downloadmeta-openembedded-contrib-881eb77ac627a1a64be0efa81ce074ecc362b4c7.tar.gz
snort: add recipe
*snort - a free lightweight network intrusion detection system for UNIX and Windows Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch')
-rw-r--r--meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch b/meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch
new file mode 100644
index 0000000000..54c2a9521b
--- /dev/null
+++ b/meta-networking/recipes-connectivity/snort/files/0001-libpcap-search-sysroot-for-headers.patch
@@ -0,0 +1,31 @@
+From 4d7ebe3ed6cee72bc7db98bd408d22c10ef5dd82 Mon Sep 17 00:00:00 2001
+From: Joe MacDonald <joe@deserted.net>
+Date: Wed, 20 Nov 2013 16:06:07 -0500
+Subject: [PATCH] libpcap: search sysroot for headers
+
+Configure hard-coded host header paths when building with libpcap. Point
+the search path at the sysroot instead.
+
+Upstream-Status: Pending
+
+Signed-off-by: Joe MacDonald <joe@deserted.net>
+---
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index e52bb6c..8ded35d 100644
+--- a/configure.in
++++ b/configure.in
+@@ -78,7 +78,7 @@ case "$host" in
+ linux="yes"
+ AC_DEFINE([LINUX],[1],[Define if Linux])
+ AC_SUBST(extra_incl)
+- extra_incl="-I/usr/include/pcap"
++ extra_incl="-I=/usr/include/pcap"
+ ;;
+ *-hpux10*|*-hpux11*)
+ AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
+--
+1.7.10.4
+