Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pythonforandroid/recipes/python2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def prebuild_armeabi(self):
self.apply_patch(join('patches', 'fix-remove-corefoundation.patch'))
self.apply_patch(join('patches', 'fix-dynamic-lookup.patch'))
self.apply_patch(join('patches', 'fix-dlfcn.patch'))
self.apply_patch(join('patches', 'parsetuple.patch'))
# self.apply_patch(join('patches', 'ctypes-find-library.patch'))
self.apply_patch(join('patches', 'ctypes-find-library-updated.patch'))

Expand Down
11 changes: 11 additions & 0 deletions pythonforandroid/recipes/python2/patches/parsetuple.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- Python-2.7.2/configure.orig 2015-06-24 17:47:39.181473779 +0200
+++ Python-2.7.2/configure 2015-06-24 17:48:31.646173137 +0200
@@ -5731,7 +5731,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports ParseTuple __format__" >&5
$as_echo_n "checking whether gcc supports ParseTuple __format__... " >&6; }
save_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Werror"
+ CFLAGS="$CFLAGS -Werror -Wformat"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */