]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpcap: fix configure with newer autofoo and fix inherit
authorJoshua Lock <josh@linux.intel.com>
Tue, 9 Feb 2010 15:23:19 +0000 (15:23 +0000)
committerJoshua Lock <josh@linux.intel.com>
Tue, 9 Feb 2010 15:56:44 +0000 (15:56 +0000)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/packages/libpcap/libpcap-0.9.3/config-fixes.patch [new file with mode: 0644]
meta/packages/libpcap/libpcap_0.9.3.bb

diff --git a/meta/packages/libpcap/libpcap-0.9.3/config-fixes.patch b/meta/packages/libpcap/libpcap-0.9.3/config-fixes.patch
new file mode 100644 (file)
index 0000000..166816e
--- /dev/null
@@ -0,0 +1,16 @@
+Fixes to enable building with latest autoconf and automake
+
+JL 09/02/10
+
+Index: libpcap-0.9.3/configure.in
+===================================================================
+--- libpcap-0.9.3.orig/configure.in    2005-07-07 07:56:03.000000000 +0100
++++ libpcap-0.9.3/configure.in 2010-02-09 15:19:40.529662003 +0000
+@@ -11,6 +11,7 @@
+ AC_INIT(pcap.c)
+ AC_CANONICAL_SYSTEM
++AC_PROG_CC
+ AC_LBL_C_INIT(V_CCOPT, V_INCLS, V_LIBS)
+ AC_LBL_C_INLINE
index cf0241a665a4158d1631c8e2d4b1338f72fc2614..1496f4873d8fcae2a17717be339ea5d53cc59f2b 100644 (file)
@@ -2,12 +2,13 @@ DESCRIPTION = "Network Packet Capture Library"
 HOMEPAGE = "http://www.tcpdump.org/"
 LICENSE = "BSD"
 SECTION = "libs/network"
-PR = "r1"
+PR = "2"
 
 SRC_URI = "http://www.at.tcpdump.org/release/libpcap-${PV}.tar.gz \
-           file://shared.patch;patch=1"
+           file://shared.patch;patch=1 \
+           file://config-fixes.patch;patch=1"
 
-inherit autotools_stage
+inherit autotools
 
 EXTRA_OECONF = "--with-pcap=linux"