On Wed, Nov 02, 2016 at 07:14:16PM +0100, Helmut Grohne wrote:
> Please consider applying the attached patch.

And now ith the patch, sorry.

Helmut
diff --minimal -Nru pv-1.6.0/debian/changelog pv-1.6.0/debian/changelog
--- pv-1.6.0/debian/changelog   2015-06-05 06:04:07.000000000 +0200
+++ pv-1.6.0/debian/changelog   2016-11-02 19:10:44.000000000 +0100
@@ -1,3 +1,10 @@
+pv (1.6.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass triplet-prefixed ld to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 02 Nov 2016 19:10:25 +0100
+
 pv (1.6.0-1) unstable; urgency=medium
 
   * new upstream release
diff --minimal -Nru pv-1.6.0/debian/rules pv-1.6.0/debian/rules
--- pv-1.6.0/debian/rules       2015-06-05 06:04:07.000000000 +0200
+++ pv-1.6.0/debian/rules       2016-11-02 19:10:23.000000000 +0100
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 DEB_HOST_ARCH_OS        ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
 %:
        dh $@
@@ -12,6 +13,9 @@
 override_dh_clean:
        dh_clean -Xmk~
 
+override_dh_auto_build:
+       dh_auto_build -- LD=$(DEB_HOST_GNU_TYPE)-ld
+
 # upstream tests fail with non-C locales
 # Functions msgsnd, msgrcv, msgget, msgctl are not yet implemented on GNU/Hurd
 override_dh_auto_test:

Reply via email to