aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch17
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
index 94788aa3c4..e7456b799b 100644
--- a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
+++ b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
@@ -7,24 +7,13 @@ Subject: [PATCH] canusb: needs -lpthread
canusb uses pthreads, but -lpthread is never added to LIBS hence missing
from pcap-config, causing build failures. Fix this.
+
+sgw - Removed configure part of the patch since it could change
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
- configure | 2 +-
configure.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-diff --git a/configure b/configure
-index 1368ac5..24587c8 100755
---- a/configure
-+++ b/configure
-@@ -11529,7 +11529,7 @@ cat >>confdefs.h <<\_ACEOF
- _ACEOF
-
- CANUSB_SRC=pcap-canusb-linux.c
-- LIBS="-lusb-1.0 $LIBS"
-+ LIBS="-lusb-1.0 -lpthread $LIBS"
- { echo "$as_me:$LINENO: canusb sniffing is supported" >&5
- echo "$as_me: canusb sniffing is supported" >&6;}
-
diff --git a/configure.in b/configure.in
index ba5b64e..47e0b70 100644
--- a/configure.in