mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 03:47:21 +00:00
b0873e2939
this includes CVE-2015-0928 moved patches and files to more generic dir name Signed-off-by: Armin Kuster <akuster808@gmail.com>
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
Index: suricata-2.0.6/configure
|
|
===================================================================
|
|
--- suricata-2.0.6.orig/configure
|
|
+++ suricata-2.0.6/configure
|
|
@@ -17372,8 +17372,6 @@ fi
|
|
|
|
if test "$HAVE_PCAP_CONFIG" = "no"; then
|
|
CFLAGS="${CFLAGS} -DLIBPCAP_VERSION_MAJOR=1"
|
|
- else
|
|
- CFLAGS="${CFLAGS} `pcap-config --defines` `pcap-config --cflags` -DLIBPCAP_VERSION_MAJOR=1"
|
|
fi
|
|
else
|
|
CFLAGS="${CFLAGS} -DLIBPCAP_VERSION_MAJOR=0"
|
|
Index: suricata-2.0.6/configure.ac
|
|
===================================================================
|
|
--- suricata-2.0.6.orig/configure.ac
|
|
+++ suricata-2.0.6/configure.ac
|
|
@@ -1060,8 +1060,6 @@
|
|
AC_PATH_PROG(HAVE_PCAP_CONFIG, pcap-config, "no")
|
|
if test "$HAVE_PCAP_CONFIG" = "no"; then
|
|
CFLAGS="${CFLAGS} -DLIBPCAP_VERSION_MAJOR=1"
|
|
- else
|
|
- CFLAGS="${CFLAGS} `pcap-config --defines` `pcap-config --cflags` -DLIBPCAP_VERSION_MAJOR=1"
|
|
fi
|
|
else
|
|
CFLAGS="${CFLAGS} -DLIBPCAP_VERSION_MAJOR=0"
|