Source: snack
Version: 2.2.10.20090623-dfsg-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

snack fails to cross build from source, because it does not pass --host
to ./configure. We cannot use dh_auto_configure here, because snack's
./configure does not understand --runstatedir. The attached patch passes
--host explicitly and makes snack cross build successfully. Please
consider applying it.

Helmut
diff --minimal -Nru snack-2.2.10.20090623-dfsg/debian/changelog 
snack-2.2.10.20090623-dfsg/debian/changelog
--- snack-2.2.10.20090623-dfsg/debian/changelog 2018-04-24 11:12:20.000000000 
+0200
+++ snack-2.2.10.20090623-dfsg/debian/changelog 2018-06-11 16:29:45.000000000 
+0200
@@ -1,3 +1,10 @@
+snack (2.2.10.20090623-dfsg-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass --build and --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 11 Jun 2018 16:29:45 +0200
+
 snack (2.2.10.20090623-dfsg-7) unstable; urgency=medium
 
   * Add osspd as an explicit dependency of libsnack-oss since for linux it
diff --minimal -Nru snack-2.2.10.20090623-dfsg/debian/rules 
snack-2.2.10.20090623-dfsg/debian/rules
--- snack-2.2.10.20090623-dfsg/debian/rules     2018-04-24 11:12:20.000000000 
+0200
+++ snack-2.2.10.20090623-dfsg/debian/rules     2018-06-11 16:29:43.000000000 
+0200
@@ -11,6 +11,8 @@
 
 CONFIGOPTS = --enable-gcc \
             --enable-shared \
+            --build=$(DEB_BUILD_GNU_TYPE) \
+            --host=$(DEB_HOST_GNU_TYPE) \
             --with-tcl=/usr/lib \
             --with-tk=/usr/lib \
             --prefix=/usr \

Reply via email to