aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt/use-host.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-08-05 14:29:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-11 09:04:11 -0700
commit37c8700560b6da569cdf9d7c306a9aa31dcdf06f (patch)
treefc8d85613c2168d51e3ea00f69035677a0c7ebce /meta/recipes-devtools/apt/apt/use-host.patch
parent82d85bdee7707896cbd432b143eb0ac22c8e3451 (diff)
downloadopenembedded-core-contrib-37c8700560b6da569cdf9d7c306a9aa31dcdf06f.tar.gz
apt: update to 1.0.10.1
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/apt/apt/use-host.patch')
-rw-r--r--meta/recipes-devtools/apt/apt/use-host.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt/use-host.patch b/meta/recipes-devtools/apt/apt/use-host.patch
new file mode 100644
index 0000000000..b30fcff0d6
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt/use-host.patch
@@ -0,0 +1,15 @@
+Upstream-Status: Pending
+
+Index: apt-0.9.7.7/configure.ac
+===================================================================
+--- apt-0.9.7.7.orig/configure.ac
++++ apt-0.9.7.7/configure.ac
+@@ -112,7 +112,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