File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ diff -Naur Python-2.7.2.orig/Lib/plat-linux2/DLFCN.py Python-2.7.2/Lib/plat-linux2/DLFCN.py
2
+ --- Python-2.7.2.orig/Lib/plat-linux2/DLFCN.py 2011-06-11 17:46:24.000000000 +0200
3
+ +++ Python-2.7.2/Lib/plat-linux2/DLFCN.py 2013-07-29 16:34:45.318131844 +0200
4
+ @@ -74,10 +74,17 @@
5
+ # Included from gnu/stubs.h
6
+
7
+ # Included from bits/dlfcn.h
8
+ + # PATCHED FOR ANDROID (the only supported symbols are):
9
+ + # enum {
10
+ + # RTLD_NOW = 0,
11
+ + # RTLD_LAZY = 1,
12
+ + # RTLD_LOCAL = 0,
13
+ + # RTLD_GLOBAL = 2,
14
+ + # };
15
+ RTLD_LAZY = 0x00001
16
+ - RTLD_NOW = 0x00002
17
+ - RTLD_BINDING_MASK = 0x3
18
+ - RTLD_NOLOAD = 0x00004
19
+ - RTLD_GLOBAL = 0x00100
20
+ + RTLD_NOW = 0x00000
21
+ + RTLD_BINDING_MASK = 0x0
22
+ + RTLD_NOLOAD = 0x00000
23
+ + RTLD_GLOBAL = 0x00002
24
+ RTLD_LOCAL = 0
25
+ - RTLD_NODELETE = 0x01000
26
+ + RTLD_NODELETE = 0x00000
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ function prebuild_python() {
30
30
try patch -p1 < $RECIPE_python /patches/verbose-compilation.patch
31
31
try patch -p1 < $RECIPE_python /patches/fix-remove-corefoundation.patch
32
32
try patch -p1 < $RECIPE_python /patches/fix-dynamic-lookup.patch
33
+ try patch -p1 < $RECIPE_python /patches/fix-dlfcn.patch
33
34
34
35
system=$( uname -s)
35
36
if [ " X$system " == " XDarwin" ]; then
You can’t perform that action at this time.
0 commit comments