Package: sed
Version: 4.2.2-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

config.guess and config.sub in sed 4.2.2 are a bit too old to support
some new ports properly, such as ppc64el.  Could you please update them
at build time so that we don't have to worry about this in future?
Patch follows.

  * Update config.guess and config.sub at build time.

diff -Nru sed-4.2.2/debian/control sed-4.2.2/debian/control
--- sed-4.2.2/debian/control    2013-07-28 02:59:16.000000000 +0100
+++ sed-4.2.2/debian/control    2013-12-13 15:35:30.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: required
 Maintainer: Clint Adams <cl...@debian.org>
 Standards-Version: 3.9.4
-Build-Depends: texinfo, gettext, libselinux-dev [linux-any]
+Build-Depends: texinfo, gettext, libselinux-dev [linux-any], autotools-dev
 Vcs-Git: git://git.debian.org/users/clint/sed.git
 Vcs-Browser: http://git.debian.org/?p=users/clint/sed.git;a=summary
 Homepage: http://www.gnu.org/software/sed/
diff -Nru sed-4.2.2/debian/rules sed-4.2.2/debian/rules
--- sed-4.2.2/debian/rules      2013-07-28 02:59:16.000000000 +0100
+++ sed-4.2.2/debian/rules      2013-12-13 15:35:26.000000000 +0000
@@ -48,11 +48,14 @@
 
 clean:
        rm -f debian/substvars debian/files build-arch config.log config.cache
+       rm -f build-aux/config.guess build-aux/config.sub
        rm -rf debian/tmp autom4te.cache
        find . -type f -a \( -name \#\*\# -o -name .\*\~ -o -name \*\~ -o -name 
DEADJOE -o -name \*.orig -o -name \*.rej -o -name \*.bak -o -name .\*.orig -o 
-name .\*.rej -o -name .SUMS -o -name TAGS -o -name core -o \( -path 
\*/.deps/\* -a -name \*.P \) \) -exec rm -f {} \;
        test ! -f Makefile || $(MAKE) distclean
 
 Makefile: Makefile.in
+       cp -a /usr/share/misc/config.guess /usr/share/misc/config.sub \
+               build-aux/
        ./configure --prefix=/usr \
                        --exec-prefix=/ \
                        --datadir=/usr/share \

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to