Source: tomatoes
Version: 1.55-8
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

tomatoes fails to cross build from source, because the upstream Makefile
uses "CC" to store the C++ compiler, but dh_auto_build supplies a C
compiler there. The attached patch renames the CC and makes tomatoes
cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru tomatoes-1.55/debian/changelog 
tomatoes-1.55/debian/changelog
--- tomatoes-1.55/debian/changelog      2018-09-27 02:37:12.000000000 +0200
+++ tomatoes-1.55/debian/changelog      2019-01-02 12:55:34.000000000 +0100
@@ -1,3 +1,10 @@
+tomatoes (1.55-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Supply C++ compiler via CC. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 02 Jan 2019 12:55:34 +0100
+
 tomatoes (1.55-8) unstable; urgency=medium
 
   * Bump DH level to 11
diff --minimal -Nru tomatoes-1.55/debian/rules tomatoes-1.55/debian/rules
--- tomatoes-1.55/debian/rules  2018-09-27 02:37:12.000000000 +0200
+++ tomatoes-1.55/debian/rules  2019-01-02 12:55:34.000000000 +0100
@@ -9,6 +9,9 @@
 %:
        dh $@
 
+override_dh_auto_build:
+       dh_auto_build -- 'CC=$$(CXX)'
+
 override_dh_installchangelogs:
        sed -n -e '/VERSION HISTORY/,/The first public version/p' README \
           > debian/upstream.changes

Reply via email to