Source: csmash
Version: 0.6.6-6.8
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

csmash fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of fixing that - using dh_auto_configure
- gets a long way. But csmash still uses a broken, oudated, embedded
copy of AM_PATH_GTK_2_0. Please remove that copy or update and register
it. The attached patch solves the --host part.

Helmut
diff --minimal -Nru csmash-0.6.6/debian/changelog csmash-0.6.6/debian/changelog
--- csmash-0.6.6/debian/changelog       2016-09-28 20:17:03.000000000 +0200
+++ csmash-0.6.6/debian/changelog       2019-05-23 18:13:30.000000000 +0200
@@ -1,3 +1,10 @@
+csmash (0.6.6-6.9) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Address FTCBFS: Use dh_auto_configure.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 23 May 2019 18:13:30 +0200
+
 csmash (0.6.6-6.8) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru csmash-0.6.6/debian/rules csmash-0.6.6/debian/rules
--- csmash-0.6.6/debian/rules   2016-09-28 20:17:03.000000000 +0200
+++ csmash-0.6.6/debian/rules   2019-05-23 18:13:29.000000000 +0200
@@ -19,12 +19,7 @@
        CFLAGS="-O2" \
        CXXFLAGS="-O2" \
        LIBS="-lpthread" \
-       ./configure                             \
-               --prefix=/usr                   \
-               --bindir=/usr/games             \
-               --sysconfdir=/etc               \
-               --infodir=/usr/share/info       \
-               --mandir=/usr/share/man
+       dh_auto_configure -- --bindir=/usr/games
 
        $(MAKE)
 

Reply via email to