[oe-commits] Khem Raj : libpcap: Turn canusb support into PACKAGECONFIG
git at git.openembedded.org
git at git.openembedded.org
Wed Jan 30 14:00:28 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: a7cfc0ce9885c51ccefcaba001e6672d7b3e36e5
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a7cfc0ce9885c51ccefcaba001e6672d7b3e36e5
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Jan 23 18:29:44 2013 -0800
libpcap: Turn canusb support into PACKAGECONFIG
libpcap notices libusb in its configure if its sysrooted
and ignores it if its not. But this causes problems since
there is no explicit dependency on libusb. Rebuild from shared
state sometimes fails when libusb has not been yet populated
in sysroot and libpcap has. And do_configure of consumers of libpcap e.g. tcpdump
are probing for features on libpcap. All the tests fail since
none of link steps succeed and it sees as if libpcap does
not have required features and configure of tcpdump bails out.
turn canusb into PACKAGECONFIG and let it be disabled
by default.
Backport additional patches needed for disable-canusb to work
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../libpcap-1.3.0/0001-Fix-disable-canusb.patch |14225 ++++++++++++++++++++
...-The-leading-comma-looked-weird-remove-it.patch | 51 +
.../libpcap-1.3.0/0001-canusb-needs-lpthread.patch | 43 +
meta/recipes-connectivity/libpcap/libpcap.inc | 1 +
meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb | 6 +-
5 files changed, 14325 insertions(+), 1 deletions(-)
Diff: http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=a7cfc0ce9885c51ccefcaba001e6672d7b3e36e5
More information about the Openembedded-commits
mailing list