Skip to content

Commit 1497c59

Browse files
committed
Merge pull request kivy#493 from dl1ksv/parsetuple
Fixing compiler problem ( parse tuples )
2 parents 614ad29 + 34e269e commit 1497c59

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

pythonforandroid/recipes/python2/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def prebuild_armeabi(self):
3333
self.apply_patch(join('patches', 'fix-remove-corefoundation.patch'))
3434
self.apply_patch(join('patches', 'fix-dynamic-lookup.patch'))
3535
self.apply_patch(join('patches', 'fix-dlfcn.patch'))
36+
self.apply_patch(join('patches', 'parsetuple.patch'))
3637
# self.apply_patch(join('patches', 'ctypes-find-library.patch'))
3738
self.apply_patch(join('patches', 'ctypes-find-library-updated.patch'))
3839

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- Python-2.7.2/configure.orig 2015-06-24 17:47:39.181473779 +0200
2+
+++ Python-2.7.2/configure 2015-06-24 17:48:31.646173137 +0200
3+
@@ -5731,7 +5731,7 @@
4+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports ParseTuple __format__" >&5
5+
$as_echo_n "checking whether gcc supports ParseTuple __format__... " >&6; }
6+
save_CFLAGS=$CFLAGS
7+
- CFLAGS="$CFLAGS -Werror"
8+
+ CFLAGS="$CFLAGS -Werror -Wformat"
9+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10+
/* end confdefs.h. */
11+

0 commit comments

Comments
 (0)