Source: sffview
Version: 0.5.0-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

sffview fails to cross build from source, because it uses a non-standard
compiler variable CC for the C++ compiler. dh_auto_build passes a C
compiler there and that does not work well. The attached patch renames
the C++ compiler. Please consider applying it or using CXX in the
upstream build system.

Helmut
diff --minimal -Nru sffview-0.5.0/debian/changelog 
sffview-0.5.0/debian/changelog
--- sffview-0.5.0/debian/changelog      2018-03-22 20:53:43.000000000 +0100
+++ sffview-0.5.0/debian/changelog      2019-05-16 06:04:24.000000000 +0200
@@ -1,3 +1,10 @@
+sffview (0.5.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass C++ compiler as CC. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 16 May 2019 06:04:24 +0200
+
 sffview (0.5.0-2) unstable; urgency=medium
 
   * debian/control: Use gtk3 build of wxwidgets3.0.
diff --minimal -Nru sffview-0.5.0/debian/rules sffview-0.5.0/debian/rules
--- sffview-0.5.0/debian/rules  2011-11-10 23:37:07.000000000 +0100
+++ sffview-0.5.0/debian/rules  2019-05-16 06:04:23.000000000 +0200
@@ -8,7 +8,7 @@
        dh $@
 
 override_dh_auto_build:
-       dh_auto_build
+       dh_auto_build -- CC='$$(CXX)'
        docbook-to-man debian/sffview.sgml > sffview.1
 
 override_dh_installchangelogs:

Reply via email to