summaryrefslogtreecommitdiffstats
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.patch32
1 files changed, 0 insertions, 32 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
deleted file mode 100644
index e7456b799b..0000000000
--- a/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Upstream-Status: Backport
2
3From 2259a62edaf667d4bc9d1a28e612e3a7c0011545 Mon Sep 17 00:00:00 2001
4From: Gustavo Zacarias <gustavo@zacarias.com.ar>
5Date: Sat, 30 Jun 2012 10:48:14 -0700
6Subject: [PATCH] canusb: needs -lpthread
7
8canusb uses pthreads, but -lpthread is never added to LIBS hence missing
9from pcap-config, causing build failures. Fix this.
10
11sgw - Removed configure part of the patch since it could change
12Signed-off-by: Saul Wold <sgw@linux.intel.com>
13---
14 configure.in | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/configure.in b/configure.in
18index ba5b64e..47e0b70 100644
19--- a/configure.in
20+++ b/configure.in
21@@ -1408,7 +1408,7 @@ if test "x$enable_canusb" != "xno" ; then
22 [
23 AC_DEFINE(PCAP_SUPPORT_CANUSB, 1, [target host supports canusb])
24 CANUSB_SRC=pcap-canusb-linux.c
25- LIBS="-lusb-1.0 $LIBS"
26+ LIBS="-lusb-1.0 -lpthread $LIBS"
27 AC_MSG_NOTICE(canusb sniffing is supported)
28 ],
29 AC_MSG_NOTICE(canusb sniffing is not supported; install libusb1.0 lib devel to enable it)
30--
311.7.9.5
32