Source: barcode
Version: 0.98+debian-9.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

barcode fails to cross build from source. The packaging is fully
prepared for cross compilation, it just passes CC in a wrong way to
./configure, which expects it to be an environment variable. The
attached patch makes barcode cross build successfully. Please consider
applying it.

Helmut
diff -u barcode-0.98+debian/debian/changelog 
barcode-0.98+debian/debian/changelog
--- barcode-0.98+debian/debian/changelog
+++ barcode-0.98+debian/debian/changelog
@@ -1,3 +1,10 @@
+barcode (0.98+debian-9.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass CC to ./configure as an env var. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 25 Jun 2018 06:06:59 +0200
+
 barcode (0.98+debian-9.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -u barcode-0.98+debian/debian/rules barcode-0.98+debian/debian/rules
--- barcode-0.98+debian/debian/rules
+++ barcode-0.98+debian/debian/rules
@@ -33,7 +33,7 @@
        cp -f /usr/share/misc/config.sub config.sub
 endif
 
-       CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure $(CROSS) 
--prefix=/usr
+       CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" $(CROSS) ./configure 
--prefix=/usr
 
 build: build-stamp
 build-stamp: config.status

Reply via email to