diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-02-09 15:23:19 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-02-09 15:56:44 +0000 |
commit | 6895486d05afd5ffcab00bbfdc909ccf40253fbf (patch) | |
tree | bfeec59e16177f00207150efa8c5fd64685a7494 /meta | |
parent | b81b391cd2b56dc70ed71fc9a050eb1b74b4d36f (diff) | |
download | poky-6895486d05afd5ffcab00bbfdc909ccf40253fbf.tar.gz |
libpcap: fix configure with newer autofoo and fix inherit
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/libpcap/libpcap-0.9.3/config-fixes.patch | 16 | ||||
-rw-r--r-- | meta/packages/libpcap/libpcap_0.9.3.bb | 7 |
2 files changed, 20 insertions, 3 deletions
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 index 0000000000..166816eb8f --- /dev/null +++ b/meta/packages/libpcap/libpcap-0.9.3/config-fixes.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Fixes to enable building with latest autoconf and automake | ||
2 | |||
3 | JL 09/02/10 | ||
4 | |||
5 | Index: libpcap-0.9.3/configure.in | ||
6 | =================================================================== | ||
7 | --- libpcap-0.9.3.orig/configure.in 2005-07-07 07:56:03.000000000 +0100 | ||
8 | +++ libpcap-0.9.3/configure.in 2010-02-09 15:19:40.529662003 +0000 | ||
9 | @@ -11,6 +11,7 @@ | ||
10 | AC_INIT(pcap.c) | ||
11 | |||
12 | AC_CANONICAL_SYSTEM | ||
13 | +AC_PROG_CC | ||
14 | |||
15 | AC_LBL_C_INIT(V_CCOPT, V_INCLS, V_LIBS) | ||
16 | AC_LBL_C_INLINE | ||
diff --git a/meta/packages/libpcap/libpcap_0.9.3.bb b/meta/packages/libpcap/libpcap_0.9.3.bb index cf0241a665..1496f4873d 100644 --- a/meta/packages/libpcap/libpcap_0.9.3.bb +++ b/meta/packages/libpcap/libpcap_0.9.3.bb | |||
@@ -2,12 +2,13 @@ DESCRIPTION = "Network Packet Capture Library" | |||
2 | HOMEPAGE = "http://www.tcpdump.org/" | 2 | HOMEPAGE = "http://www.tcpdump.org/" |
3 | LICENSE = "BSD" | 3 | LICENSE = "BSD" |
4 | SECTION = "libs/network" | 4 | SECTION = "libs/network" |
5 | PR = "r1" | 5 | PR = "2" |
6 | 6 | ||
7 | SRC_URI = "http://www.at.tcpdump.org/release/libpcap-${PV}.tar.gz \ | 7 | SRC_URI = "http://www.at.tcpdump.org/release/libpcap-${PV}.tar.gz \ |
8 | file://shared.patch;patch=1" | 8 | file://shared.patch;patch=1 \ |
9 | file://config-fixes.patch;patch=1" | ||
9 | 10 | ||
10 | inherit autotools_stage | 11 | inherit autotools |
11 | 12 | ||
12 | EXTRA_OECONF = "--with-pcap=linux" | 13 | EXTRA_OECONF = "--with-pcap=linux" |
13 | 14 | ||