Source: rdist
Version: 6.1.5-19
Tags: patch
User: [email protected]
Usertags: rebootstrap

rdist fails to cross build from source, because it uses the build
architecture compiler. Letting dh_auto_build pass cross compilers to
make fixes the cross build. Please consider applying the attached patch.

Helmut
diff --minimal -Nru rdist-6.1.5/debian/changelog rdist-6.1.5/debian/changelog
--- rdist-6.1.5/debian/changelog        2016-11-29 11:40:09.000000000 +0100
+++ rdist-6.1.5/debian/changelog        2017-12-18 20:31:09.000000000 +0100
@@ -1,3 +1,10 @@
+rdist (6.1.5-19.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 18 Dec 2017 20:31:09 +0100
+
 rdist (6.1.5-19) unstable; urgency=medium
 
   * Fix uses-deprecated-compression-for-data-tarball
diff --minimal -Nru rdist-6.1.5/debian/rules rdist-6.1.5/debian/rules
--- rdist-6.1.5/debian/rules    2016-11-29 11:31:45.000000000 +0100
+++ rdist-6.1.5/debian/rules    2017-12-18 20:31:02.000000000 +0100
@@ -13,7 +13,7 @@
 build-indep: build-stamp
 build-stamp:
        dh_testdir
-       DEFS_LOCAL=-D_PATH_OLDRDIST=\\\"/usr/bin/oldrdist\\\" 
LIB_SYS="$(LDFLAGS)" $(MAKE)
+       DEFS_LOCAL=-D_PATH_OLDRDIST=\\\"/usr/bin/oldrdist\\\" 
LIB_SYS="$(LDFLAGS)" dh_auto_build
        touch build-stamp
 
 clean:

Reply via email to