Source: trovacap
Version: 0.2.2-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

trovacap fails to cross build from source, because it assumes the
compiler to be in the non-standard CPP variable while dh_auto_build
passes it as CXX. The attached patch renames it and makes trovacap cross
buildable. Please consider applying it.

Helmut
diff --minimal -Nru trovacap-0.2.2/debian/changelog 
trovacap-0.2.2/debian/changelog
--- trovacap-0.2.2/debian/changelog     2011-09-03 07:26:39.000000000 +0200
+++ trovacap-0.2.2/debian/changelog     2019-05-11 12:02:18.000000000 +0200
@@ -1,3 +1,10 @@
+trovacap (0.2.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass compiler as CPP. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 11 May 2019 12:02:18 +0200
+
 trovacap (0.2.2-1) unstable; urgency=low
 
   * Initial release (Closes: #639913)
diff --minimal -Nru trovacap-0.2.2/debian/rules trovacap-0.2.2/debian/rules
--- trovacap-0.2.2/debian/rules 2011-08-31 17:10:50.000000000 +0200
+++ trovacap-0.2.2/debian/rules 2019-05-11 12:02:18.000000000 +0200
@@ -6,3 +6,6 @@
 
 %:
        dh $@
+
+override_dh_auto_build:
+       dh_auto_build -- CPP='$$(CXX)'

Reply via email to