Source: typespeed
Version: 0.6.5-1.1
Severity: normal
Tags: patch
User: debian-po...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

The package typespeed fails to build from source on ppc64el, because files
config.guess and config.sub are out of date and the architecture is not 
identified.

The usage of autotools-dev within the build will update those files and the 
package
will build successfully.

Attached is a a patch that does the aforementioned modification.

Thanks and regards.
Fernando


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u typespeed-0.6.5/debian/control typespeed-0.6.5/debian/control
--- typespeed-0.6.5/debian/control
+++ typespeed-0.6.5/debian/control
@@ -1,5 +1,5 @@
 Source: typespeed
-Build-Depends: debhelper (>= 5), quilt (>= 0.46-7), libncurses5-dev
+Build-Depends: debhelper (>= 5), quilt (>= 0.46-7), libncurses5-dev, autotools-dev
 Section: games
 Priority: optional
 Maintainer: Dafydd Harries <d...@debian.org>
diff -u typespeed-0.6.5/debian/rules typespeed-0.6.5/debian/rules
--- typespeed-0.6.5/debian/rules
+++ typespeed-0.6.5/debian/rules
@@ -15,6 +15,7 @@
 	dh_quilt_unpatch
 
 config.log: patch
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --bindir=/usr/games --localstatedir=/var \
 		--sysconfdir=/etc
 
@@ -31,6 +32,7 @@
 	rm -f debian/build-stamp debian/install-stamp
 	$(MAKE) distclean
 	dh_quilt_unpatch
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 debian/install-stamp: debian/build-stamp

Reply via email to