Bug#211566: dpkg: triplet fixes for "freebsd-i386"
Package: dpkg
Version: 1.10.13
Severity: wishlist
Tags: patch
This patch fixes the "freebsd-i386" architecture to be detected with the
"kfreebsd-gnu" gnu triplet.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux aragorn 2.2.25 #1 Fri Jun 20 19:28:33 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages dpkg depends on:
ii dselect 1.10.13 a user tool to manage Debian packa
ii libc6 2.3.2-7 GNU C Library: Shared libraries an
-- no debconf information
diff -ur dpkg-1.10.13.old/archtable dpkg-1.10.13/archtable
--- dpkg-1.10.13.old/archtable 2003-09-14 01:43:49.000000000 +0200
+++ dpkg-1.10.13/archtable 2003-09-18 21:05:22.000000000 +0200
@@ -48,7 +48,7 @@
hppa1.1-linux-gnu hppa hppa
hppa2.0-linux-gnu hppa hppa
hppa64-linux-gnu hppa hppa
-i386-freebsd freebsd-i386 freebsd-i386
+i386-kfreebsd-gnu freebsd-i386 freebsd-i386
i386-netbsdelf-gnu netbsd-i386 netbsd-i386
s390-linux-gnu s390 s390
s390-ibm-linux-gnu s390 s390
diff -ur dpkg-1.10.13.old/configure.in dpkg-1.10.13/configure.in
--- dpkg-1.10.13.old/configure.in 2003-09-15 04:46:15.000000000 +0200
+++ dpkg-1.10.13/configure.in 2003-09-18 21:05:22.000000000 +0200
@@ -107,6 +107,8 @@
os_type="openbsd";;
*netbsd* )
os_type="netbsd";;
+ *kfreebsd*-gnu* )
+ os_type="kfreebsd-gnu";;
*freebsd* )
os_type="freebsd";;
gnu )
diff -ur dpkg-1.10.13.old/scripts/dpkg-architecture.pl dpkg-1.10.13/scripts/dpkg-architecture.pl
--- dpkg-1.10.13.old/scripts/dpkg-architecture.pl 2003-09-14 03:49:08.000000000 +0200
+++ dpkg-1.10.13/scripts/dpkg-architecture.pl 2003-09-18 21:05:22.000000000 +0200
@@ -66,7 +66,7 @@
's390x', 's390x-linux',
'ia64', 'ia64-linux',
'openbsd-i386', 'i386-openbsd',
- 'freebsd-i386', 'i386-freebsd',
+ 'freebsd-i386', 'i386-kfreebsd-gnu',
'netbsd-i386', 'i386-netbsdelf-gnu',
'darwin-powerpc', 'powerpc-darwin',
'darwin-i386', 'i386-darwin');
Reply to: