Source: spice-vdagent
Version: 0.17.0-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

spice-vdagent fails to cross build from source, because it doesn't pass
the relevant --host flag to ./configure. Fortunately, using
dh_auto_configure fixes that and makes a cross build succeed. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru spice-vdagent-0.17.0/debian/changelog 
spice-vdagent-0.17.0/debian/changelog
--- spice-vdagent-0.17.0/debian/changelog       2016-10-12 09:41:11.000000000 
+0200
+++ spice-vdagent-0.17.0/debian/changelog       2018-03-26 17:00:38.000000000 
+0200
@@ -1,3 +1,11 @@
+spice-vdagent (0.17.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes:
+    #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 26 Mar 2018 17:00:38 +0200
+
 spice-vdagent (0.17.0-1) unstable; urgency=low
 
   * New upstream release
diff --minimal -Nru spice-vdagent-0.17.0/debian/rules 
spice-vdagent-0.17.0/debian/rules
--- spice-vdagent-0.17.0/debian/rules   2016-10-12 09:41:11.000000000 +0200
+++ spice-vdagent-0.17.0/debian/rules   2018-03-26 17:00:36.000000000 +0200
@@ -9,9 +9,7 @@
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr\
-                    --sysconfdir=/etc \
-                   --localstatedir=/var \
+       dh_auto_configure -- \
                    --with-init-script=systemd \
                    --enable-pie=yes \
                     --with-session-info=systemd

Reply via email to