summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2010-03-26 12:53:03 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-03-31 11:01:07 +0200
commitb98084cc22392b373d6d769c8358b26ba23b7f9c (patch)
tree827cbce1cfb7f5e0ec4cc2aec947a50a21fb2adf
parentf902b356c73911ea7728c9ab2288ce085b69b083 (diff)
tcpdump: fixed build with newer autoconf-2.65
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes/tcpdump/files/configure.patch24
-rw-r--r--recipes/tcpdump/tcpdump_4.0.0.bb1
2 files changed, 25 insertions, 0 deletions
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