Source: vbindiff
Version: 3.0-beta4-1
Tags: patch
User: [email protected]
Usertags: rebootstrap
vbindiff fails to cross build from source, because it configures for the
build architecture by not passing any --host flag to ./configure.
Thankfully, dh_auto_configure does the right thing(tm) and just
replacing the explicit ./configure invocation with dh_auto_configure
thus makes cross building work. Please consider applying the attached
patch.
Helmut
diff -u vbindiff-3.0-beta4/debian/rules vbindiff-3.0-beta4/debian/rules
--- vbindiff-3.0-beta4/debian/rules
+++ vbindiff-3.0-beta4/debian/rules
@@ -19,10 +19,7 @@
cp -f /usr/share/misc/config.guess config.guess
endif
- ./configure \
- --prefix=/usr \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
+ dh_auto_configure -- \
CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
LDFLAGS="$(LDFLAGS) $(LDFLAGS2)"
diff -u vbindiff-3.0-beta4/debian/changelog vbindiff-3.0-beta4/debian/changelog
--- vbindiff-3.0-beta4/debian/changelog
+++ vbindiff-3.0-beta4/debian/changelog
@@ -1,3 +1,10 @@
+vbindiff (3.0-beta4-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Sun, 18 Jun 2017 22:38:51 +0200
+
vbindiff (3.0-beta4-1) unstable; urgency=low
* New Upstream Release.