aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt-0.9.7.7/use-host.patch
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2013-03-01 17:06:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-05 12:29:45 +0000
commit97403b14765331c8c48bb570c6b98f2809214a9a (patch)
tree15dfbce0de9579179a941ad36d4bfa9f51451ce6 /meta/recipes-devtools/apt/apt-0.9.7.7/use-host.patch
parent59cd32a6661d76ee070810823614eb797d6cc153 (diff)
downloadopenembedded-core-contrib-97403b14765331c8c48bb570c6b98f2809214a9a.tar.gz
apt: upgrade to 0.9.7.7
bb files: remove invalid config.sub/config.guess files (autotools will generate the correct files) allocate-larger-memory.patch: not needed anymore fix-gcc-4.6-null-not-defined.patch: added - include header that defines NULL includes-fix.patch: not needed anymore localefixes.patch: removed - not necessary anymore (no compiling errors) makerace.patch: adapted to the new version no-ko-translation.patch: adapted to the new version no-nls-dpkg.patch: added - fix build without nls noconfigure.patch: adapted to the new version nodoc.patch: adapted to the new version (apply patch on all cases because the doc generation needs docbook-xsl) remove-redeclaration.patch: not needed anymore truncate-filename.patch: moved use-host.patch: adapted to the new version no-curl.patch: adapted to the new version disable-configure-in-makefile.patch: added - do not run configure at do_compile Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.9.7.7/use-host.patch')
-rw-r--r--meta/recipes-devtools/apt/apt-0.9.7.7/use-host.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.7/use-host.patch b/meta/recipes-devtools/apt/apt-0.9.7.7/use-host.patch
new file mode 100644
index 0000000000..f7eaaedf8d
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.9.7.7/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