summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
blob: 09698a6a40088479d9001fa7301f68e002a5ee8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
 buildlib/sizetable |    4 +++-
 configure.in       |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

Index: apt-0.7.14/buildlib/sizetable
===================================================================
--- apt-0.7.14.orig/buildlib/sizetable
+++ apt-0.7.14/buildlib/sizetable
@@ -11,6 +11,9 @@
 # The format is:-
 # CPU endian sizeof: char, int, short, long
 i386    little  1 4 2 4
+i486    little  1 4 2 4
+i586    little  1 4 2 4
+i686    little  1 4 2 4
 armeb   big     1 4 2 4
 arm     little  1 4 2 4
 alpha   little  1 4 2 8
@@ -21,4 +24,5 @@ m68k    big     1 4 2 4
 powerpc big     1 4 2 4
 mips    big     1 4 2 4
 hppa    big     1 4 2 4
-m32r	big	1 4 2 4
\ No newline at end of file
+m32r	big	1 4 2 4
+x86_64	little	1 4 2 8
Index: apt-0.7.14/configure.in
===================================================================
--- apt-0.7.14.orig/configure.in
+++ apt-0.7.14/configure.in
@@ -88,7 +88,7 @@ dnl This is often the dpkg architecture 
 dnl First check against the full canonical canoncial-system-type in $target
 dnl and if that fails, just look for the cpu
 AC_MSG_CHECKING(debian architecture)
-archset="`dpkg-architecture -qDEB_HOST_ARCH`"
+archset="`echo $host_alias|cut -d'-' -f1`"
 if test "x$archset" = "x"; then
    AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture])
 fi
OpenPOWER on IntegriCloud