Source: xdelta
Version: 1.1.3-9.1
Tags: patch
User: [email protected]
Usertags: rebootstrap

xdelta fails to cross build from source, because it configures for the
build architecture. Replacing the ./configure invocation with
dh_auto_configure fixes that, because debhelper passes the relevant
--host flag. Please consider applying the attached patch.

Helmut
diff -u xdelta-1.1.3/debian/changelog xdelta-1.1.3/debian/changelog
--- xdelta-1.1.3/debian/changelog
+++ xdelta-1.1.3/debian/changelog
@@ -1,3 +1,10 @@
+xdelta (1.1.3-9.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use dh_auto_configure (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 15 Sep 2017 18:28:31 +0200
+
 xdelta (1.1.3-9.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u xdelta-1.1.3/debian/control xdelta-1.1.3/debian/control
--- xdelta-1.1.3/debian/control
+++ xdelta-1.1.3/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: LaMont Jones <[email protected]>
-Build-Depends: debhelper (>> 5.0.0), libglib2.0-dev, zlib1g-dev, autotools-dev
+Build-Depends: debhelper (>= 7), libglib2.0-dev, zlib1g-dev, autotools-dev
 Standards-Version: 3.7.3
 XS-Vcs-Browser: http://git.debian.org/?p=users/lamont/xdelta.git
 XS-Vcs-Git: git://git.debian.org/~lamont/xdelta.git
diff -u xdelta-1.1.3/debian/rules xdelta-1.1.3/debian/rules
--- xdelta-1.1.3/debian/rules
+++ xdelta-1.1.3/debian/rules
@@ -22,8 +22,7 @@
        cp -f /usr/share/misc/config.guess config.guess
        cp -f /usr/share/misc/config.sub config.sub
        CPPFLAGS=`glib-config --cflags` CFLAGS="${CFLAGS}" \
-         ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
-         --infodir=\$${prefix}/share/info
+         dh_auto_configure
 
 build: build-stamp
 

Reply via email to