diff options
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.patch | 13 |
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 @@ +Index: apt-0.9.7.7/configure.in +=================================================================== +--- apt-0.9.7.7.orig/configure.in ++++ apt-0.9.7.7/configure.in +@@ -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 |