summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch23
1 files changed, 13 insertions, 10 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch
index 06ca275b18..e077a29ecd 100644
--- a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch
+++ b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch
@@ -8,14 +8,17 @@ Subject: [PATCH] The leading comma looked weird; remove it.
8That might be how the --disable-canusb bug got in. Hopefully this will 8That might be how the --disable-canusb bug got in. Hopefully this will
9make the code look a little clearer and possibly avoid future bugs of 9make the code look a little clearer and possibly avoid future bugs of
10that sort. 10that sort.
11
12sgw - Cleaned up the patch based on another patch
13Signed-off-by: Saul Wold <sgw@linux.intel.com>
11--- 14---
12 configure.in | 9 ++++++--- 15 configure.in | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-) 16 1 file changed, 6 insertions(+), 3 deletions(-)
14 17
15diff --git a/configure.in b/configure.in 18Index: libpcap-1.3.0/configure.in
16index d8554ca..ba5b64e 100644 19===================================================================
17--- a/configure.in 20--- libpcap-1.3.0.orig/configure.in
18+++ b/configure.in 21+++ libpcap-1.3.0/configure.in
19@@ -1371,7 +1371,8 @@ AC_SUBST(NETFILTER_SRC) 22@@ -1371,7 +1371,8 @@ AC_SUBST(NETFILTER_SRC)
20 23
21 AC_ARG_ENABLE([bluetooth], 24 AC_ARG_ENABLE([bluetooth],
@@ -26,17 +29,20 @@ index d8554ca..ba5b64e 100644
26 29
27 if test "x$enable_bluetooth" != "xno" ; then 30 if test "x$enable_bluetooth" != "xno" ; then
28 dnl check for Bluetooth sniffing support 31 dnl check for Bluetooth sniffing support
29@@ -1396,7 +1397,8 @@ fi 32@@ -1395,8 +1396,10 @@ if test "x$enable_bluetooth" != "xno" ;
33 fi
30 34
31 AC_ARG_ENABLE([canusb], 35 AC_ARG_ENABLE([canusb],
32 [AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])], 36-[AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])]
33-,enable_canusb=yes) 37-,enable_canusb=yes)
38+[AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])],
34+ [], 39+ [],
35+ [enable_canusb=yes]) 40+ [enable_canusb=yes])
41+
36 42
37 if test "x$enable_canusb" != "xno" ; then 43 if test "x$enable_canusb" != "xno" ; then
38 dnl check for canusb support 44 dnl check for canusb support
39@@ -1422,7 +1424,8 @@ fi 45@@ -1422,7 +1425,8 @@ fi
40 46
41 AC_ARG_ENABLE([can], 47 AC_ARG_ENABLE([can],
42 [AC_HELP_STRING([--enable-can],[enable CAN support @<:@default=yes, if support available@:>@])], 48 [AC_HELP_STRING([--enable-can],[enable CAN support @<:@default=yes, if support available@:>@])],
@@ -46,6 +52,3 @@ index d8554ca..ba5b64e 100644
46 52
47 if test "x$enable_can" != "xno" ; then 53 if test "x$enable_can" != "xno" ; then
48 dnl check for CAN sniffing support 54 dnl check for CAN sniffing support
49--
501.7.9.5
51