Source: buffer
Version: 1.19-12
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru buffer-1.19/debian/changelog buffer-1.19/debian/changelog
--- buffer-1.19/debian/changelog        2014-09-10 23:43:25.000000000 +0200
+++ buffer-1.19/debian/changelog        2017-10-19 17:11:04.000000000 +0200
@@ -1,3 +1,10 @@
+buffer (1.19-12.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. Closes: #-1
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 19 Oct 2017 17:11:04 +0200
+
 buffer (1.19-12) unstable; urgency=low
 
   * Use dpkg-buildflags
diff --minimal -Nru buffer-1.19/debian/rules buffer-1.19/debian/rules
--- buffer-1.19/debian/rules    2014-09-10 22:54:26.000000000 +0200
+++ buffer-1.19/debian/rules    2017-10-19 17:11:03.000000000 +0200
@@ -16,7 +16,7 @@
 
 build-stamp:
        dh_testdir
-       make CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
 ifeq (, $(filter nocheck,$(DEB_BUILD_OPTIONS)))
        make check
 endif

Reply via email to