Source: gaviotatb
Version: 0.4-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

gaviotatb fails to cross build from source, because its build system
forces the use of the build architecture compiler. By using even more
force DEFAULT_CC can be diverted back to the debhelper supplied value.
Once doing so, it cross builds successfully. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru gaviotatb-0.4/debian/changelog 
gaviotatb-0.4/debian/changelog
--- gaviotatb-0.4/debian/changelog      2015-01-21 06:17:44.000000000 +0100
+++ gaviotatb-0.4/debian/changelog      2017-08-14 12:20:16.000000000 +0200
@@ -1,3 +1,10 @@
+gaviotatb (0.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Force using the debhelper supplied CC. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 14 Aug 2017 12:20:16 +0200
+
 gaviotatb (0.4-2) unstable; urgency=medium
 
   * Incorporate patch by Mathieu Malaterre, fix linking errors
diff --minimal -Nru gaviotatb-0.4/debian/rules gaviotatb-0.4/debian/rules
--- gaviotatb-0.4/debian/rules  2015-01-21 06:17:08.000000000 +0100
+++ gaviotatb-0.4/debian/rules  2017-08-14 12:20:14.000000000 +0200
@@ -11,5 +11,8 @@
        dh_clean
        rm -f .depend
 
+override_dh_auto_build:
+       dh_auto_build -- DEFAULT_CC='$$(CC)'
+
 get-orig-source:
        -uscan --force-download

Reply via email to