Bug#744071: heroes: use autotools-dev to update config.{sub,guess} for new arches
Package: heroes
Version: 0.21-9
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer,
Please use autotools-dev to update config.{sub,guess} for new architectures.
For example, we needed these updates in Ubuntu for the new arm64 and ppc64el
architectures.
In Ubuntu, the attached patch was applied to achieve the following:
* Use autotools-dev to update config.{sub,guess} for new arches.
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-23-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 heroes-0.21/debian/control heroes-0.21/debian/control
--- heroes-0.21/debian/control
+++ heroes-0.21/debian/control
@@ -2,7 +2,7 @@
Section: games
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: libsdl1.2-dev (>= 1.2.2-3.1), libsdl-mixer1.2-dev, debhelper (>= 5), gettext, autogen, help2man, heroes-data (>= 1.4-1), texinfo
+Build-Depends: libsdl1.2-dev (>= 1.2.2-3.1), libsdl-mixer1.2-dev, debhelper (>= 5), gettext, autogen, help2man, heroes-data (>= 1.4-1), texinfo, autotools-dev
Standards-Version: 3.8.0
Package: heroes-common
diff -u heroes-0.21/debian/rules heroes-0.21/debian/rules
--- heroes-0.21/debian/rules
+++ heroes-0.21/debian/rules
@@ -13,6 +13,7 @@
build-stamp-sdl:
dh_testdir
+ dh_autotools-dev_updateconfig
env LDFLAGS="$$(sdl-config --libs)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --datadir=\$${prefix}/share/games --bindir=\$${prefix}/games --without-ggi --with-sdl --without-mikmod --with-sdl-mixer
$(MAKE)
@@ -46,6 +47,7 @@
# These are generated but not removed by "make distclean":
rm -f man/heroes.6 man/heroeslvl.6
+ dh_autotools-dev_restoreconfig
dh_clean
ifeq ($(BUILD_SDL), yes)
Reply to: