Source: xcalib
Version: 0.8.dfsg1-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

xcalib fails to cross build from source, because debian/rules uses the
build architecture compiler as a make default. Including dpkg's
buildtools.mk sets up the $(CC) such that it works for cross
compilation. After doing so, xcalib cross builds successfully. Please
consider applying the attached patch.

Helmut
diff -u xcalib-0.8.dfsg1/debian/rules xcalib-0.8.dfsg1/debian/rules
--- xcalib-0.8.dfsg1/debian/rules
+++ xcalib-0.8.dfsg1/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
diff -u xcalib-0.8.dfsg1/debian/changelog xcalib-0.8.dfsg1/debian/changelog
--- xcalib-0.8.dfsg1/debian/changelog
+++ xcalib-0.8.dfsg1/debian/changelog
@@ -1,3 +1,10 @@
+xcalib (0.8.dfsg1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk set a sane $(CC). Closes: #-1
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 26 May 2018 21:14:07 +0200
+
 xcalib (0.8.dfsg1-2) unstable; urgency=low
 
   * Added Homepage header.

Reply via email to