Package: lsmbox
Version: 2.1.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

lsmbox 2.1.2-1 was FTBFSing in Ubuntu on the arm64 and ppc64el arches because
the copying of config.{sub,guess} was not occurring properly. I replaced it
with the autotools-dev dh helper, and now it builds properly on both
architectures.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-14-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u lsmbox-2.1.2/debian/rules lsmbox-2.1.2/debian/rules
--- lsmbox-2.1.2/debian/rules
+++ lsmbox-2.1.2/debian/rules
@@ -31,17 +31,15 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autotools-dev_restoreconfig
 	dh_clean build-stamp config.cache config.log
 	rm -rf autom4te.cache
 	[ ! -f Makefile ] || $(MAKE) distclean
-	-test -r /usr/share/misc/config.sub && \
-	   cp -f /usr/share/misc/config.sub config.sub
-	-test -r /usr/share/misc/config.guess && \
-	   cp -f /usr/share/misc/config.guess config.guess
 
 .PHONY: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 
 	./configure --prefix=/usr --mandir=$(mandir)
 	$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
diff -u lsmbox-2.1.2/debian/control lsmbox-2.1.2/debian/control
--- lsmbox-2.1.2/debian/control
+++ lsmbox-2.1.2/debian/control
@@ -2,7 +2,7 @@
 Section: mail
 Priority: optional
 Maintainer: David Weinehall <[email protected]>
-Build-Depends: debhelper (>> 5.0.22), libncurses5-dev, gettext (>= 0.11.0)
+Build-Depends: debhelper (>> 5.0.22), libncurses5-dev, gettext (>= 0.11.0), autotools-dev
 Standards-Version: 3.8.4
 
 Package: lsmbox

Reply via email to