Source: dsniff Version: 2.4b1+debian-23 Tags: patch User: [email protected] Usertags: rebootstrap
dsniff fails to cross build from source, because its ancient ./configure script does not prefix the C compiler with $ac_tool_prefix. Exporting a suitable CC makes cross builds succeed nonetheless. Please consider applying the attached patch (or moving to more recent autotools). Helmut
diff --minimal -Nru dsniff-2.4b1+debian/debian/changelog dsniff-2.4b1+debian/debian/changelog --- dsniff-2.4b1+debian/debian/changelog 2016-12-20 22:40:25.000000000 +0100 +++ dsniff-2.4b1+debian/debian/changelog 2017-01-23 21:42:53.000000000 +0100 @@ -1,3 +1,10 @@ +dsniff (2.4b1+debian-23.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass triplet-prefixed CC to configure (Closes: #-1) + + -- Helmut Grohne <[email protected]> Mon, 23 Jan 2017 21:42:53 +0100 + dsniff (2.4b1+debian-23) unstable; urgency=medium * Assign to pkg-security team (Closes: #847505) diff --minimal -Nru dsniff-2.4b1+debian/debian/rules dsniff-2.4b1+debian/debian/rules --- dsniff-2.4b1+debian/debian/rules 2016-12-20 22:39:02.000000000 +0100 +++ dsniff-2.4b1+debian/debian/rules 2017-01-23 21:42:52.000000000 +0100 @@ -1,5 +1,9 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/architecture.mk +ifeq ($(origin CC),default) +export CC := $(DEB_HOST_GNU_TYPE)-gcc +endif %: dh $@

