Source: iputils
Version: 3:20190709-3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

iputils fails to cross build from source, because it does not pass a
crossfile to meson. The easiest way of doing so - using
dh_auto_configure - makes iputils cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru iputils-20190709/debian/changelog 
iputils-20190709/debian/changelog
--- iputils-20190709/debian/changelog   2020-01-31 00:11:23.000000000 +0100
+++ iputils-20190709/debian/changelog   2020-06-03 06:50:22.000000000 +0200
@@ -1,3 +1,10 @@
+iputils (3:20190709-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass a crossfile to meson. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 03 Jun 2020 06:50:22 +0200
+
 iputils (3:20190709-3) unstable; urgency=medium
 
   * Incorporate upstream fix for getaddrinfo handling. Thanks to Benjamin
diff --minimal -Nru iputils-20190709/debian/rules iputils-20190709/debian/rules
--- iputils-20190709/debian/rules       2020-01-16 01:46:33.000000000 +0100
+++ iputils-20190709/debian/rules       2020-06-03 06:50:22.000000000 +0200
@@ -13,8 +13,7 @@
        dh $@ --buildsystem=meson+ninja --builddirectory=$(BUILD_DIR)
 
 override_dh_auto_configure:
-       meson $(BUILD_DIR) \
-               -Dprefix=/usr \
+       dh_auto_configure -- \
                -DBUILD_RARPD=false \
                -DBUILD_RDISC=false \
                -DBUILD_TFTPD=false \

Reply via email to