From b98084cc22392b373d6d769c8358b26ba23b7f9c Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 26 Mar 2010 12:53:03 +0100 Subject: tcpdump: fixed build with newer autoconf-2.65 Signed-off-by: Martin Jansa --- recipes/tcpdump/files/configure.patch | 24 ++++++++++++++++++++++++ recipes/tcpdump/tcpdump_4.0.0.bb | 1 + 2 files changed, 25 insertions(+) create mode 100644 recipes/tcpdump/files/configure.patch diff --git a/recipes/tcpdump/files/configure.patch b/recipes/tcpdump/files/configure.patch new file mode 100644 index 0000000000..b66f4b72f7 --- /dev/null +++ b/recipes/tcpdump/files/configure.patch @@ -0,0 +1,24 @@ +Index: tcpdump-4.0.0/aclocal.m4 +=================================================================== +--- tcpdump-4.0.0.orig/aclocal.m4 ++++ tcpdump-4.0.0/aclocal.m4 +@@ -44,7 +44,6 @@ dnl LBL_CFLAGS + dnl + AC_DEFUN(AC_LBL_C_INIT, + [AC_PREREQ(2.12) +- AC_BEFORE([$0], [AC_PROG_CC]) + AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) + AC_BEFORE([$0], [AC_LBL_DEVEL]) + AC_ARG_WITH(gcc, [ --without-gcc don't use gcc]) +Index: tcpdump-4.0.0/configure.in +=================================================================== +--- tcpdump-4.0.0.orig/configure.in ++++ tcpdump-4.0.0/configure.in +@@ -10,6 +10,7 @@ AC_REVISION($Revision: 1.196.2.6 $) + AC_PREREQ(2.50) + AC_INIT(tcpdump.c) + ++AC_PROG_CC + AC_CANONICAL_HOST + + AC_LBL_C_INIT(V_CCOPT, V_INCLS) diff --git a/recipes/tcpdump/tcpdump_4.0.0.bb b/recipes/tcpdump/tcpdump_4.0.0.bb index b29f770e07..2d5a44507a 100644 --- a/recipes/tcpdump/tcpdump_4.0.0.bb +++ b/recipes/tcpdump/tcpdump_4.0.0.bb @@ -12,6 +12,7 @@ SRC_URI = " \ file://no-ipv6-tcpdump4.patch;patch=1 \ file://0001-minimal-IEEE802.15.4-allowed.patch;patch=1 \ file://ipv6-cross.patch;patch=1 \ + file://configure.patch;patch=1 \ " inherit autotools -- cgit v1.2.3