summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch
diff options
context:
space:
mode:
authorIonut Radu <ionutx.radu@intel.com>2013-05-13 17:55:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:52 +0100
commitb752e188ce5e503a3404d5780125d93704f2a37b (patch)
treea619cbefedcccc876990c7a6d93e5637f5d7bf02 /meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch
parent0116e82631a0267be3e5b7c04007980cb4e10171 (diff)
downloadpoky-b752e188ce5e503a3404d5780125d93704f2a37b.tar.gz
apt: Updated from 0.9.7.8 to 0.9.8.1
(From OE-Core rev: 76b32bbe16c790ed81fffe37e67d80d1ec754e4e) Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch')
-rw-r--r--meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch b/meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch
new file mode 100644
index 0000000000..f7eaaedf8d
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.9.8.1/use-host.patch
@@ -0,0 +1,13 @@
1Index: apt-0.9.7.7/configure.in
2===================================================================
3--- apt-0.9.7.7.orig/configure.in
4+++ apt-0.9.7.7/configure.in
5@@ -112,7 +112,7 @@ dnl This is often the dpkg architecture
6 dnl First check against the full canonical canoncial-system-type in $target
7 dnl and if that fails, just look for the cpu
8 AC_MSG_CHECKING(debian architecture)
9-archset="`dpkg-architecture -qDEB_HOST_ARCH`"
10+archset="`echo $host_alias|cut -d'-' -f1`"
11 if test "x$archset" = "x"; then
12 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture])
13 fi