Source: vfu
Version: 4.20-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

vfu fails to cross build from source again. Nothing ever initializes CXX
to a cross compiler. Please consider applying the attached patch to do
so.

Helmut
diff --minimal -Nru vfu-4.20/debian/changelog vfu-4.20/debian/changelog
--- vfu-4.20/debian/changelog   2020-07-29 03:46:19.000000000 +0200
+++ vfu-4.20/debian/changelog   2020-08-01 17:15:37.000000000 +0200
@@ -1,3 +1,10 @@
+vfu (4.20-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply cross tools. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 01 Aug 2020 17:15:37 +0200
+
 vfu (4.20-1) unstable; urgency=medium
 
   * Update to new upstream release of 4.20.
diff --minimal -Nru vfu-4.20/debian/rules vfu-4.20/debian/rules
--- vfu-4.20/debian/rules       2020-07-25 20:34:10.000000000 +0200
+++ vfu-4.20/debian/rules       2020-08-01 17:13:22.000000000 +0200
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS+=hardening=+bindnow
+-include /usr/share/dpkg/buildtools.mk
 export CCDEF=$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags 
--get CPPFLAGS)
 export LDDEF=$(shell dpkg-buildflags --get LDFLAGS)
 RANLIB?=gcc-ranlib

Reply via email to