Source: rstatd
Version: 4.0.1-9
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

rstatd fails to cross build from source, because it does not pass the
relevant --host flag to ./configure. The easiest way of doing so - using
dh_auto_configure - makes rstatd cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru rstatd-4.0.1/debian/changelog rstatd-4.0.1/debian/changelog
--- rstatd-4.0.1/debian/changelog       2016-11-21 13:25:23.000000000 +0100
+++ rstatd-4.0.1/debian/changelog       2018-12-14 06:47:12.000000000 +0100
@@ -1,3 +1,10 @@
+rstatd (4.0.1-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 14 Dec 2018 06:47:12 +0100
+
 rstatd (4.0.1-9) unstable; urgency=medium
 
   * Fix uses-deprecated-compression-for-data-tarball
diff --minimal -Nru rstatd-4.0.1/debian/rules rstatd-4.0.1/debian/rules
--- rstatd-4.0.1/debian/rules   2016-11-21 13:24:54.000000000 +0100
+++ rstatd-4.0.1/debian/rules   2018-12-14 06:47:10.000000000 +0100
@@ -11,7 +11,7 @@
 configure: configure-stamp
 configure-stamp:
        dh_testdir
-       ./configure --prefix=/usr
+       dh_auto_configure
        touch configure-stamp
 
 build: build-arch build-indep

Reply via email to