diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch')
| -rw-r--r-- | meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch b/meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch new file mode 100644 index 0000000000..25caa3b0a5 --- /dev/null +++ b/meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | Index: apt-0.9.7.7/configure.in | ||
| 4 | =================================================================== | ||
| 5 | --- apt-0.9.7.7.orig/configure.in | ||
| 6 | +++ apt-0.9.7.7/configure.in | ||
| 7 | @@ -112,7 +112,7 @@ dnl This is often the dpkg architecture | ||
| 8 | dnl First check against the full canonical canoncial-system-type in $target | ||
| 9 | dnl and if that fails, just look for the cpu | ||
| 10 | AC_MSG_CHECKING(debian architecture) | ||
| 11 | -archset="`dpkg-architecture -qDEB_HOST_ARCH`" | ||
| 12 | +archset="`echo $host_alias|cut -d'-' -f1`" | ||
| 13 | if test "x$archset" = "x"; then | ||
| 14 | AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture]) | ||
| 15 | fi | ||
