From ab22cc42bde17ec41004afff42a6ea0311061046 Mon Sep 17 00:00:00 2001 From: Jose Alarcon Date: Thu, 3 Aug 2017 08:24:54 +0300 Subject: tcpdump: remove unnecessary patch The removed patch added an unncessary (and incorrect) test for cross compiling: if there is no libdlpi on the target, the test will fail (as it should) and not add libdlpi to the list of libraries. If we would be cross compiling for Solaris (e.g., compiling for SPARC on Solaris x86 or for x86 on Solaris SPARC), we should check for libdlpi. Signed-off-by: Martin Jansa --- .../tcpdump/tcpdump/tcpdump-configure-dlpi.patch | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 meta-networking/recipes-support/tcpdump/tcpdump/tcpdump-configure-dlpi.patch (limited to 'meta-networking/recipes-support/tcpdump/tcpdump') diff --git a/meta-networking/recipes-support/tcpdump/tcpdump/tcpdump-configure-dlpi.patch b/meta-networking/recipes-support/tcpdump/tcpdump/tcpdump-configure-dlpi.patch deleted file mode 100644 index 50e2d54399..0000000000 --- a/meta-networking/recipes-support/tcpdump/tcpdump/tcpdump-configure-dlpi.patch +++ /dev/null @@ -1,31 +0,0 @@ -[PATCH] tcpdump: cross-compiling not check dlpi. - -For cross-compiling on Linux platforms, we do not need to check libdlpi -since it is only placed on Solaris. -Also, checking libdlpi in native /lib would cause do_qa_configure fail. - -Upstream-Status: Pending. - -Signed-off-by: Xin Ouyang ---- - configure.in | 4 +++- - 1 files changed, 3 insertions(+), 1 deletions(-) - -diff --git a/configure.in b/configure.in -index 7f9591c..ca277c0 100644 ---- a/configure.in -+++ b/configure.in -@@ -716,7 +716,9 @@ don't.]) - fi - - # libdlpi is needed for Solaris 11 and later. --AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS", ,-L/lib) -+if test "$cross_compiling" != yes; then -+ AC_CHECK_LIB(dlpi, dlpi_walk, LIBS="$LIBS -ldlpi" LDFLAGS="-L/lib $LDFLAGS", ,-L/lib) -+fi - - dnl portability macros for getaddrinfo/getnameinfo - dnl --- -1.7.5.4 - -- cgit 1.2.3-korg