File tree 3 files changed +31
-4
lines changed
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)
8
8
RECIPE_libxslt=$RECIPES_PATH /libxslt
9
9
10
10
function prebuild_libxslt() {
11
+ cd $BUILD_libxslt
11
12
if [ -f .patched ]; then
12
13
return
13
14
fi
14
-
15
- cd $BUILD_libxslt
16
15
try patch -p1 < $RECIPE_libxslt /fix-dlopen.patch
17
16
touch .patched
18
17
}
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 3
3
VERSION_pyopenssl=0.13
4
4
URL_pyopenssl=http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$VERSION_pyopenssl .tar.gz
5
5
DEPS_pyopenssl=(openssl python)
6
- MD5_pyopenssl= 767bca18a71178ca353dff9e10941929
6
+ MD5_pyopenssl=767bca18a71178ca353dff9e10941929
7
7
BUILD_pyopenssl=$BUILD_PATH /pyopenssl/$( get_directory $URL_pyopenssl )
8
8
RECIPE_pyopenssl=$RECIPES_PATH /pyopenssl
9
9
10
10
function 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
12
18
}
13
19
14
20
function build_pyopenssl() {
You can’t perform that action at this time.
0 commit comments