iphonesimulator...works (at least on my setup with this coomit...Mavericks XCode 5.01 iPhone SDK 7.0.3
This commit is contained in:
parent
60b3c202ec
commit
d6919ca667
2 changed files with 18 additions and 29 deletions
|
@ -1,34 +1,23 @@
|
|||
--- Python2.7-old/Modules/_ctypes/cfield.c 2010-05-09 16:46:46.000000000 +0200
|
||||
+++ Python2.7-new/Modules/_ctypes/cfield.c 2013-08-27 00:21:15.000000000 +0200
|
||||
@@ -1747,24 +1747,6 @@
|
||||
} ffi_type;
|
||||
--- Python-2.7.1.old/Modules/_ctypes/cfield.c 2010-05-09 09:46:46.000000000 -0500
|
||||
+++ Python-2.7.1/Modules/_ctypes/cfield.c 2013-10-27 16:13:05.000000000 -0500
|
||||
@@ -1748,6 +1748,7 @@
|
||||
*/
|
||||
|
||||
-/* align and size are bogus for void, but they must not be zero */
|
||||
-ffi_type ffi_type_void = { 1, 1, FFI_TYPE_VOID };
|
||||
-
|
||||
-ffi_type ffi_type_uint8 = { 1, 1, FFI_TYPE_UINT8 };
|
||||
-ffi_type ffi_type_sint8 = { 1, 1, FFI_TYPE_SINT8 };
|
||||
-
|
||||
-ffi_type ffi_type_uint16 = { 2, 2, FFI_TYPE_UINT16 };
|
||||
-ffi_type ffi_type_sint16 = { 2, 2, FFI_TYPE_SINT16 };
|
||||
-
|
||||
-ffi_type ffi_type_uint32 = { 4, 4, FFI_TYPE_UINT32 };
|
||||
-ffi_type ffi_type_sint32 = { 4, 4, FFI_TYPE_SINT32 };
|
||||
-
|
||||
-ffi_type ffi_type_uint64 = { 8, LONG_LONG_ALIGN, FFI_TYPE_UINT64 };
|
||||
-ffi_type ffi_type_sint64 = { 8, LONG_LONG_ALIGN, FFI_TYPE_SINT64 };
|
||||
-
|
||||
-ffi_type ffi_type_float = { sizeof(float), FLOAT_ALIGN, FFI_TYPE_FLOAT };
|
||||
-ffi_type ffi_type_double = { sizeof(double), DOUBLE_ALIGN, FFI_TYPE_DOUBLE };
|
||||
-
|
||||
#ifdef ffi_type_longdouble
|
||||
/* align and size are bogus for void, but they must not be zero */
|
||||
+/*
|
||||
ffi_type ffi_type_void = { 1, 1, FFI_TYPE_VOID };
|
||||
|
||||
ffi_type ffi_type_uint8 = { 1, 1, FFI_TYPE_UINT8 };
|
||||
@@ -1769,9 +1770,11 @@
|
||||
#undef ffi_type_longdouble
|
||||
#endif
|
||||
@@ -1772,6 +1754,4 @@
|
||||
/* This is already defined on OSX */
|
||||
+/*
|
||||
ffi_type ffi_type_longdouble = { sizeof(long double), LONGDOUBLE_ALIGN,
|
||||
FFI_TYPE_LONGDOUBLE };
|
||||
|
||||
-ffi_type ffi_type_pointer = { sizeof(void *), VOID_P_ALIGN, FFI_TYPE_POINTER };
|
||||
-
|
||||
ffi_type ffi_type_pointer = { sizeof(void *), VOID_P_ALIGN, FFI_TYPE_POINTER };
|
||||
+*/
|
||||
|
||||
/*---------------- EOF ----------------*/
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@ try rsync -av --delete $SRCDIR/ $YOURAPPDIR
|
|||
echo "-> Compile to pyo"
|
||||
$HOSTPYTHON -OO -m compileall $YOURAPPDIR
|
||||
|
||||
echo "-> Remove unused files (pyc, py)"
|
||||
find $YOURAPPDIR -iname '*.py' -exec rm {} \;
|
||||
find $YOURAPPDIR -iname '*.pyc' -exec rm {} \;
|
||||
#echo "-> Remove unused files (pyc, py)"
|
||||
#find $YOURAPPDIR -iname '*.py' -exec rm {} \;
|
||||
#find $YOURAPPDIR -iname '*.pyc' -exec rm {} \;
|
||||
|
||||
echo "-> Source code of $APPNAME updated."
|
||||
|
|
Loading…
Add table
Reference in a new issue