[oe-commits] Enrico Scholz : tcpdump: fixed build with newer autoconf-2.65

git version control git at git.openembedded.org
Wed Mar 31 09:01:04 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b98084cc22392b373d6d769c8358b26ba23b7f9c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b98084cc22392b373d6d769c8358b26ba23b7f9c

Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Fri Mar 26 12:53:03 2010 +0100

tcpdump: fixed build with newer autoconf-2.65

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/tcpdump/files/configure.patch |   24 ++++++++++++++++++++++++
 recipes/tcpdump/tcpdump_4.0.0.bb      |    1 +
 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 0000000..b66f4b7
--- /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 b29f770..2d5a445 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





More information about the Openembedded-commits mailing list