Source: xloadimage
Version: 4.1-24
Tags: patch
User: [email protected]
Usertags: rebootstrap

xloadimage fails to cross build from source, because it is configured
for the build architecture. After letting dh_auto_build pass --host to
./configure, it cross builds successfully. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru xloadimage-4.1/debian/changelog 
xloadimage-4.1/debian/changelog
--- xloadimage-4.1/debian/changelog     2016-10-03 16:10:21.000000000 +0200
+++ xloadimage-4.1/debian/changelog     2017-10-03 13:43:09.000000000 +0200
@@ -1,3 +1,10 @@
+xloadimage (4.1-24.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 03 Oct 2017 13:43:09 +0200
+
 xloadimage (4.1-24) unstable; urgency=medium
 
   * Add patch to make build reproducible. (Closes: #831743)
diff --minimal -Nru xloadimage-4.1/debian/rules xloadimage-4.1/debian/rules
--- xloadimage-4.1/debian/rules 2016-10-03 15:17:27.000000000 +0200
+++ xloadimage-4.1/debian/rules 2017-10-03 13:43:09.000000000 +0200
@@ -25,7 +25,7 @@
        chmod 755 build-info configure
        # uufilter does not respect LDFLAGS, so send all flags in CFLAGS
        CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)" \
-       ./configure --prefix=/usr
+       dh_auto_configure
 
 override_dh_clean:
        rm -f build *.o xloadimage uufilter build.c config.log config.cache \

Reply via email to