summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2010-12-21 23:04:24 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 14:20:50 +0000
commit66fd56ddf9a1bd1cb064bc05999585863cc6d743 (patch)
tree13fc689229b75dad98dba65c5f5c13f065c970e2 /meta/recipes-devtools/apt
parent585c506cd8698948b9e970ebdbf96b99286fb05d (diff)
downloadpoky-66fd56ddf9a1bd1cb064bc05999585863cc6d743.tar.gz
apt: update use-host patch to support x86_64
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/apt')
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/use-host.patch20
1 files changed, 8 insertions, 12 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch b/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
index 894a697661..09698a6a40 100644
--- a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
+++ b/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
@@ -3,11 +3,11 @@
3 configure.in | 2 +- 3 configure.in | 2 +-
4 2 files changed, 4 insertions(+), 2 deletions(-) 4 2 files changed, 4 insertions(+), 2 deletions(-)
5 5
6Index: apt-0.7.14/buildlib/sizetable
7===================================================================
6--- apt-0.7.14.orig/buildlib/sizetable 8--- apt-0.7.14.orig/buildlib/sizetable
7+++ apt-0.7.14/buildlib/sizetable 9+++ apt-0.7.14/buildlib/sizetable
8@@ -9,16 +9,19 @@ 10@@ -11,6 +11,9 @@
9 #
10 # This is used primarily for the MD5 algorithm.
11 # The format is:- 11 # The format is:-
12 # CPU endian sizeof: char, int, short, long 12 # CPU endian sizeof: char, int, short, long
13 i386 little 1 4 2 4 13 i386 little 1 4 2 4
@@ -17,21 +17,19 @@
17 armeb big 1 4 2 4 17 armeb big 1 4 2 4
18 arm little 1 4 2 4 18 arm little 1 4 2 4
19 alpha little 1 4 2 8 19 alpha little 1 4 2 8
20 mipsel little 1 4 2 4 20@@ -21,4 +24,5 @@ m68k big 1 4 2 4
21 sparc big 1 4 2 4
22 sparc64 big 1 4 2 8
23 m68k big 1 4 2 4
24 powerpc big 1 4 2 4 21 powerpc big 1 4 2 4
25 mips big 1 4 2 4 22 mips big 1 4 2 4
26 hppa big 1 4 2 4 23 hppa big 1 4 2 4
27-m32r big 1 4 2 4 24-m32r big 1 4 2 4
28\ No newline at end of file 25\ No newline at end of file
29+m32r big 1 4 2 4 26+m32r big 1 4 2 4
27+x86_64 little 1 4 2 8
28Index: apt-0.7.14/configure.in
29===================================================================
30--- apt-0.7.14.orig/configure.in 30--- apt-0.7.14.orig/configure.in
31+++ apt-0.7.14/configure.in 31+++ apt-0.7.14/configure.in
32@@ -86,11 +86,11 @@ AC_SUBST(BDBLIB) 32@@ -88,7 +88,7 @@ dnl This is often the dpkg architecture
33 dnl Converts the ARCH to be something singular for this general CPU family
34 dnl This is often the dpkg architecture string.
35 dnl First check against the full canonical canoncial-system-type in $target 33 dnl First check against the full canonical canoncial-system-type in $target
36 dnl and if that fails, just look for the cpu 34 dnl and if that fails, just look for the cpu
37 AC_MSG_CHECKING(debian architecture) 35 AC_MSG_CHECKING(debian architecture)
@@ -40,5 +38,3 @@
40 if test "x$archset" = "x"; then 38 if test "x$archset" = "x"; then
41 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture]) 39 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture])
42 fi 40 fi
43 AC_MSG_RESULT($archset)
44 AC_DEFINE_UNQUOTED(COMMON_ARCH,"$archset")