Source: tcpdump Version: 4.7.4-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
tcpdump fails to cross build from source, because it configures the build for the build architecture. To support cross builds, it needs to pass --host. The attached patch implements that by replacing the explicit ./configure invocation with dh_auto_configure, which happens to know what to pass. Please consider applying the patch. Helmut
diff --minimal -Nru tcpdump-4.7.4/debian/changelog tcpdump-4.7.4/debian/changelog --- tcpdump-4.7.4/debian/changelog 2016-08-28 18:16:50.000000000 +0200 +++ tcpdump-4.7.4/debian/changelog 2016-09-15 22:14:25.000000000 +0200 @@ -1,3 +1,10 @@ +tcpdump (4.7.4-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass --host (closes: #-1). + + -- Helmut Grohne <hel...@subdivi.de> Thu, 15 Sep 2016 22:14:06 +0200 + tcpdump (4.7.4-2) unstable; urgency=medium * Disable crypto support as it causes FTBFS with OpenSSL 1.1.x and we diff --minimal -Nru tcpdump-4.7.4/debian/rules tcpdump-4.7.4/debian/rules --- tcpdump-4.7.4/debian/rules 2016-08-28 18:16:50.000000000 +0200 +++ tcpdump-4.7.4/debian/rules 2016-09-15 22:14:04.000000000 +0200 @@ -8,4 +8,4 @@ override_dh_auto_configure: autoconf --force - ./configure --prefix=/usr --enable-ipv6 --with-crypto=no + dh_auto_configure -- --enable-ipv6 --with-crypto=no