File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
pythonforandroid/recipes/python2 Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ class Python2Recipe(GuestPythonRecipe):
29
29
# is_api_lt(21)), # Todo: this should be tested
30
30
'patches/fix-missing-extensions.patch' ,
31
31
'patches/fix-filesystem-default-encoding.patch' ,
32
+ 'patches/fix-gethostbyaddr.patch' ,
32
33
'patches/fix-posix-declarations.patch' ,
33
34
'patches/fix-pwd-gecos.patch' ]
34
35
Original file line number Diff line number Diff line change
1
+ --- Python-2.7.15/Modules/socketmodule.c.orig 2017-12-29 01:40:09.915694810 +0100
2
+ +++ Python-2.7.15/Modules/socketmodule.c 2017-12-29 01:40:36.967694486 +0100
3
+ @@ -156,6 +156,9 @@
4
+ On the other hand, not all Linux versions agree, so there the settings
5
+ computed by the configure script are needed! */
6
+
7
+ + /* Android hack, same reason are what is described above */
8
+ + #undef HAVE_GETHOSTBYNAME_R
9
+ +
10
+ #ifndef linux
11
+ # undef HAVE_GETHOSTBYNAME_R_3_ARG
12
+ # undef HAVE_GETHOSTBYNAME_R_5_ARG
You can’t perform that action at this time.
0 commit comments