--- Begin Message ---
Source: c2050
Version: 0.3b-6
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
c2050 fails to cross build from source, because it hardcodes gcc as the
compiler. Since debhelper 10.2.1, debhelper passes the right CC to make
(see #836988), but LD remains unset, because some projects need a C++
linker. So for supporting cross compilation, we need to pass LD here.
The attached patch makes cross builds succeed. Please consider appling
it.
Helmut
diff --minimal -Nru c2050-0.3b/debian/changelog c2050-0.3b/debian/changelog
--- c2050-0.3b/debian/changelog 2015-11-25 20:54:02.000000000 +0100
+++ c2050-0.3b/debian/changelog 2016-10-04 19:42:27.000000000 +0200
@@ -1,3 +1,10 @@
+c2050 (0.3b-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Use provided CC for linking. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 04 Oct 2016 19:42:03 +0200
+
c2050 (0.3b-6) unstable; urgency=medium
* Team upload
diff --minimal -Nru c2050-0.3b/debian/rules c2050-0.3b/debian/rules
--- c2050-0.3b/debian/rules 2015-11-25 20:52:16.000000000 +0100
+++ c2050-0.3b/debian/rules 2016-10-04 19:42:00.000000000 +0200
@@ -9,6 +9,9 @@
%:
dh $@
+override_dh_auto_build:
+ dh_auto_build -- 'LD=$$(CC)'
+
override_dh_auto_install:
dh_auto_install --destdir=debian/printer-driver-c2050/
--- End Message ---
--- Begin Message ---
Source: c2050
Source-Version: 0.3b-7
We believe that the bug you reported is fixed in the latest version of
c2050, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 839765@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated c2050 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 05 Oct 2016 08:06:35 +0200
Source: c2050
Binary: printer-driver-c2050
Architecture: source
Version: 0.3b-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
printer-driver-c2050 - printer driver for Lexmark 2050 Color Jetprinter
Closes: 839765
Changes:
c2050 (0.3b-7) unstable; urgency=medium
.
* Team upload
.
[ Didier Raboud ]
* Bump S-V to 3.9.8 without changes needed
* Use full hardening
.
[ Helmut Grohne ]
* Fix FTCBFS: Use provided CC for linking (Closes: #839765)
Checksums-Sha1:
cd91a1af4921a03d16ae6b47b942548848a0a6c1 1714 c2050_0.3b-7.dsc
4f624c91ad439b43c647f479ea3bdbe2955c8c2a 3632 c2050_0.3b-7.debian.tar.xz
Checksums-Sha256:
91a244a184e238cd5057c1202f2a846b1c16e6360a8be0b25e4cfaa16f7edcfa 1714 c2050_0.3b-7.dsc
9bff6724c77236af28511961d14bd5bf22bd6bdf66ad572db225f4379e0cb0ca 3632 c2050_0.3b-7.debian.tar.xz
Files:
a60391c430c7c1b615ab5dd6ad757c0f 1714 text optional c2050_0.3b-7.dsc
9ade81b52a8025625071630540b94e0d 3632 text optional c2050_0.3b-7.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGcBAEBCgAGBQJX9JiyAAoJEIvPpx7KFjRVODAMAJmQESzZoFniPy9SrJ5YJ53g
n2+BwbU+1MTwQ61LSUNF96NGv5kjcTjHKPhn9f5lmwjy5jAQwOT0ZKKztFxNb8e/
Cnh2HJ4wG+yrdIFxyx6QeeNaKTlwA3PIcfm0sDi3aNsX2x33p++UzxqDQlBoNJu7
nLAoE/zWINVJoCrYZtQTRWk8z1L4XXLmXpSyY7myZdo3WOwxoHXLjlmW5HXIZyHj
Oc9Qlyf46hlRPdXrhndxWofBhx4oLXbo/ZlnimVykmdWj83E7YSWGKZ0+6rKG7Ix
qnCXE10YhEwnwh19NjEUmFDyXGXycCnown5OSpdN2Nzuq3xpLEvx+BDU5v+bTeuN
DZgr8laB5qAb3OlwIaK5m7xpHutgnC/vHI3hingWSTM9z0afBTlI7N9y7P5ugp5/
2t/PEj0OVxXU9s2ifuAmupp809e4Rk4pLEHCCTgT8xRgdF9KeKxhQjwC5dJfx6a8
6bIIYs0nuPUhVQH77sHUPnxLHrWla4UvV8zf9vfslQ==
=ZC3l
-----END PGP SIGNATURE-----
--- End Message ---