From 883da3d9544c4340cd83cfe688b7551bbaf43ba4 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 15 Apr 2009 14:00:18 +0200 Subject: python 2.6.1: fix build for architectures lacking libffi support * if your patch does: +res = os.system(cmd) ; print "ret %d" % res, DO NOT change the second 'res' to 'ret'! * this fixes a regression since python 2.5.x --- recipes/python/python-2.6.1/05-enable-ctypes-cross-build.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/python/python-2.6.1') 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 874b8be01d..58b8078068 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 = {} -- cgit v1.2.3