Package: iputils Version: 3:20150815-2 Followup-For: Bug #648033 User: [email protected] Usertags: origin-ubuntu yakkety ubuntu-patch
This is still needed with the latest version 3:20150815-2, although the patch needed to be updated to Depend on sgmlspl:any. Please could you review this, as iputils is part of the base system and useful to cross-build? Thanks for considering the patch. Dave Chiluk -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial-proposed'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-24-generic (SMP w/12 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru iputils-20150815/debian/control iputils-20150815/debian/control --- iputils-20150815/debian/control 2016-03-01 08:47:42.000000000 -0600 +++ iputils-20150815/debian/control 2016-06-15 06:14:05.000000000 -0500 @@ -3,7 +3,7 @@ Priority: extra Maintainer: Noah Meyerhans <[email protected]> Standards-Version: 3.9.7 -Build-Depends: debhelper (>= 7), sp, sgmlspl, docbook, libcap-dev, libgnutls-openssl-dev, bash (>= 3) +Build-Depends: debhelper (>= 7), sp, sgmlspl:any, docbook, libcap-dev, libgnutls-openssl-dev, bash (>= 3) Vcs-Git: https://anonscm.debian.org/git/collab-maint/iputils.git Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/iputils.git diff -Nru iputils-20150815/debian/rules iputils-20150815/debian/rules --- iputils-20150815/debian/rules 2016-03-01 08:47:42.000000000 -0600 +++ iputils-20150815/debian/rules 2016-06-14 05:48:31.000000000 -0500 @@ -10,6 +10,14 @@ # This has to be exported to make some magic below work. export DH_OPTIONS +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CROSS := +else + CROSS := CC=$(DEB_HOST_GNU_TYPE)-gcc +endif + TARGETS=ping tracepath tracepath6 traceroute6 clockdiff arping configure: @@ -17,7 +25,7 @@ build-arch: configure dh_testdir - $(MAKE) $(TARGETS) + $(MAKE) $(CROSS) $(TARGETS) build-indep: configure dh_testdir

