From: Scott James Remnant Date: Tue, 27 Apr 2004 18:51:19 +0000 (+0000) Subject: Add support for the new Hurd-style i386-gnu triplets; rather than hacking X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3849b659f25e3f223de42f647498d92049969cc;p=dpkg Add support for the new Hurd-style i386-gnu triplets; rather than hacking this onto the Linux support, I'm deliberately doing it separately so when they change it again, we don't have to unbreak things. --- diff --git a/ChangeLog b/ChangeLog index 0db258fb..4e5c76c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 27 19:47:37 BST 2004 Scott James Remnant + + * scripts/dpkg-architecture.pl (rewrite_gnu): Add a new regexp for + parsing i386-gnu style triplets on the Hurd. + Tue Apr 27 19:23:01 BST 2004 Scott James Remnant * main/dpkg.8: Correct reference to non-existant --force-reinstreq diff --git a/debian/changelog b/debian/changelog index 0537b8a1..8f264851 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ dpkg (1.10.22) unstable; urgency=low * Add amd64 support. Closes: #238483, #241938. + * Add i?86-gnu support. Closes: #216695, #236331. * Stop hardcoding the list of manual page languages in debian/rules, so we include Spanish, Russian and Brazilian Portugese. Closes: #245994. * Correct dpkg manpage to refer to --force-remove-reinstreq instead of diff --git a/scripts/dpkg-architecture.pl b/scripts/dpkg-architecture.pl index f388b622..baaac04c 100755 --- a/scripts/dpkg-architecture.pl +++ b/scripts/dpkg-architecture.pl @@ -100,6 +100,7 @@ sub rewrite_gnu { local ($_) = @_; s/(?:i386|i486|i586|i686|pentium)(.*linux)/i386$1/; + s/(?:i386|i486|i586|i686|pentium)(.*gnu)/i386$1/; s/ppc/powerpc/; s/openbsd([\d\.]+$)/openbsd/; s/-unknown-/-/;