Package: mingw32-binutils
Version: 2.20-0.2
Severity: normal
Tags: patch
User: [email protected]
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-2-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 mingw32-binutils-2.20/debian/rules mingw32-binutils-2.20/debian/rules
--- mingw32-binutils-2.20/debian/rules
+++ mingw32-binutils-2.20/debian/rules
@@ -38,6 +38,7 @@
# internal structure again ... this time we fix the tarball, and we'll
# wait to see what happens again next time.
configure-stamp: unpack-stamp
+ dh_autotools-dev_updateconfig
mkdir -p $(build_objs)
cd $(build_objs) \
&& $(build_src)/$(binutils)/configure -v \
@@ -120,6 +121,7 @@
dh_testdir
dh_testroot
rm -rf $(build_dir) *-stamp
+ dh_autotools-dev_restoreconfig
dh_clean
diff -u mingw32-binutils-2.20/debian/control mingw32-binutils-2.20/debian/control
--- mingw32-binutils-2.20/debian/control
+++ mingw32-binutils-2.20/debian/control
@@ -1,7 +1,7 @@
Source: mingw32-binutils
Section: devel
Priority: optional
-Build-Depends: debhelper (>= 4.0), gettext, bison, flex, perl, texinfo
+Build-Depends: debhelper (>= 4.0), gettext, bison, flex, perl, texinfo, autotools-dev
Maintainer: Ron Lee <[email protected]>
Standards-Version: 3.7.2.2