[oe] [PATCH 2/3] Use linux2 when configuring python-2.6.6

ulf_samuelsson at telia.com ulf_samuelsson at telia.com
Wed Oct 19 15:10:13 UTC 2011


From: Ulf Samuelsson <ulf_samuelsson at telia.com>

Signed-off-by: Ulf Samuelsson <ulf.samuelsson at telia.com>

---
 ...64-bit-host.-Use-linux2-instead-of-linux3.patch |   40 ++++++++++++++++++++
 recipes/python/python_2.6.6.bb                     |    1 +
 2 files changed, 41 insertions(+), 0 deletions(-)
 create mode 100644 recipes/python/python-2.6.6/0001-Support-64-bit-host.-Use-linux2-instead-of-linux3.patch

diff --git a/recipes/python/python-2.6.6/0001-Support-64-bit-host.-Use-linux2-instead-of-linux3.patch b/recipes/python/python-2.6.6/0001-Support-64-bit-host.-Use-linux2-instead-of-linux3.patch
new file mode 100644
index 0000000..46ce713
--- /dev/null
+++ b/recipes/python/python-2.6.6/0001-Support-64-bit-host.-Use-linux2-instead-of-linux3.patch
@@ -0,0 +1,40 @@
+From 3fbd3d4aa2f9b0aaa806ec9f19dc589a0928ef0c Mon Sep 17 00:00:00 2001
+From: Ulf Samuelsson <ulf_samuelsson at telia.com>
+Date: Wed, 19 Oct 2011 15:46:32 +0200
+Subject: [PATCH] Support 64 bit host. Use linux2 instead of linux3
+
+Imported from the Buildroot project.
+
+Signed-off-by: Ulf Samuelsson <ulf.samuelsson at telia.com>
+---
+ configure    |    1 +
+ configure.in |    1 +
+ 2 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/configure b/configure
+index d0731c3..dc8d029 100755
+--- a/configure
++++ b/configure
+@@ -2814,6 +2814,7 @@ then
+ 	darwin*) MACHDEP="darwin";;
+ 	atheos*) MACHDEP="atheos";;
+         irix646) MACHDEP="irix6";;
++	linux*)	MACHDEP="linux2";;
+ 	'')	MACHDEP="unknown";;
+ 	esac
+ fi
+diff --git a/configure.in b/configure.in
+index 609d8f2..8b8b77c 100644
+--- a/configure.in
++++ b/configure.in
+@@ -264,6 +264,7 @@ then
+ 	darwin*) MACHDEP="darwin";;
+ 	atheos*) MACHDEP="atheos";;
+         irix646) MACHDEP="irix6";;
++	linux*)	MACHDEP="linux2";;
+ 	'')	MACHDEP="unknown";;
+ 	esac
+ fi
+-- 
+1.7.5.4
+
diff --git a/recipes/python/python_2.6.6.bb b/recipes/python/python_2.6.6.bb
index eacc5c2..ae057a2 100644
--- a/recipes/python/python_2.6.6.bb
+++ b/recipes/python/python_2.6.6.bb
@@ -18,6 +18,7 @@ SRC_URI = "\
   file://python-module-rpath-fix.patch \
   file://sitecustomize.py \
   file://pkgconfig-support.patch \
+  file://0001-Support-64-bit-host.-Use-linux2-instead-of-linux3.patch \
 "
 SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14"
 SRC_URI[sha256sum] = "134c5e0736bae2e5570d0b915693374f11108ded63c35a23a35d282737d2ce83"
-- 
1.7.5.4





More information about the Openembedded-devel mailing list