[oe-commits] Koen Kooi : python 2.6.1: fix build for architectures lacking libffi support

GIT User account git at amethyst.openembedded.net
Thu Apr 16 12:02:27 UTC 2009


Module: openembedded.git
Branch: stable/2009
Commit: b816a3b15b9d57133bbcbf18a5d83f9830438bfc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b816a3b15b9d57133bbcbf18a5d83f9830438bfc

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Apr 15 23:10:38 2009 +0000

python 2.6.1: fix build for architectures lacking libffi support

Signed-off-by: Koen Kooi <koen at openembedded.org>
Acked-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

---

 .../05-enable-ctypes-cross-build.patch             |    2 +-
 recipes/python/python_2.6.1.bb                     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch b/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch
index 874b8be..58b8078 100644
--- a/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch
+++ b/recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch
@@ -22,7 +22,7 @@ Index: Python-2.6.1/setup.py
                  res = os.system(cmd)
                  if res or not os.path.exists(ffi_configfile):
 -                    print "Failed to configure _ctypes module"
-+                    print "Failed to configure _ctypes module (ret=%d) or missing conffile=%s" % ( ret, ffi_configfile )
++                    print "Failed to configure _ctypes module (res=%d) or missing conffile=%s" % ( res, ffi_configfile )
                      return False
  
              fficonfig = {}
diff --git a/recipes/python/python_2.6.1.bb b/recipes/python/python_2.6.1.bb
index 57c64df..e50ca43 100644
--- a/recipes/python/python_2.6.1.bb
+++ b/recipes/python/python_2.6.1.bb
@@ -1,7 +1,7 @@
 require python.inc
 DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib"
 DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
-PR = "ml4"
+PR = "ml5"
 
 SRC_URI = "\
   http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \





More information about the Openembedded-commits mailing list