File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed
Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,10 @@ BUILD_libxslt=$BUILD_PATH/libxslt/$(get_directory $URL_libxslt)
88RECIPE_libxslt=$RECIPES_PATH /libxslt
99
1010function prebuild_libxslt() {
11+ cd $BUILD_libxslt
1112 if [ -f .patched ]; then
1213 return
1314 fi
14-
15- cd $BUILD_libxslt
1615 try patch -p1 < $RECIPE_libxslt /fix-dlopen.patch
1716 touch .patched
1817}
Original file line number Diff line number Diff line change 1+ --- pyOpenSSL-0.13.orig/OpenSSL/__init__.py 2011-09-02 17:46:13.000000000 +0200
2+ +++ pyOpenSSL-0.13/OpenSSL/__init__.py 2013-07-29 17:20:15.750079894 +0200
3+ @@ -12,6 +12,11 @@
4+ except AttributeError:
5+ from OpenSSL import crypto
6+ else:
7+ + # XXX android fix
8+ + # linux: RTLD_NOW (0x2) | RTLD_GLOBAL (0x100 / 256)
9+ + # android: RTLD_NOW (0x0) | RTLD_GLOBAL (0x2)
10+ + flags = 0x2
11+ + '''
12+ try:
13+ import DLFCN
14+ except ImportError:
15+ @@ -31,6 +36,7 @@
16+ else:
17+ flags = DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL
18+ del DLFCN
19+ + '''
20+
21+ sys.setdlopenflags(flags)
22+ from OpenSSL import crypto
Original file line number Diff line number Diff line change 33VERSION_pyopenssl=0.13
44URL_pyopenssl=http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$VERSION_pyopenssl .tar.gz
55DEPS_pyopenssl=(openssl python)
6- MD5_pyopenssl= 767bca18a71178ca353dff9e10941929
6+ MD5_pyopenssl=767bca18a71178ca353dff9e10941929
77BUILD_pyopenssl=$BUILD_PATH /pyopenssl/$( get_directory $URL_pyopenssl )
88RECIPE_pyopenssl=$RECIPES_PATH /pyopenssl
99
1010function prebuild_pyopenssl() {
11- true
11+ cd $BUILD_pyopenssl
12+ if [ -f .patched ]; then
13+ return
14+ fi
15+
16+ try patch -p1 < $RECIPE_pyopenssl /fix-dlfcn.patch
17+ touch .patched
1218}
1319
1420function build_pyopenssl() {
You can’t perform that action at this time.
0 commit comments