File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
pythonforandroid/recipes/hostpython2 Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ class Hostpython2Recipe(Recipe):
10
10
version = '2.7.2'
11
11
url = 'https://python.org/ftp/python/{version}/Python-{version}.tar.bz2'
12
12
name = 'hostpython2'
13
+ patches = ['fix-segfault-pygchead.patch' ]
13
14
14
15
conflicts = ['hostpython3' ]
15
16
Original file line number Diff line number Diff line change
1
+ diff -Naur Python-2.7.2.orig/Include/objimpl.h Python-2.7.2/Include/objimpl.h
2
+ --- Python-2.7.2.orig/Include/objimpl.h 2011-06-11 17:46:23.000000000 +0200
3
+ +++ Python-2.7.2/Include/objimpl.h 2018-09-04 17:33:09.254654565 +0200
4
+ @@ -255,7 +255,7 @@
5
+ union _gc_head *gc_prev;
6
+ Py_ssize_t gc_refs;
7
+ } gc;
8
+ - long double dummy; /* force worst-case alignment */
9
+ + double dummy; /* force worst-case alignment */
10
+ } PyGC_Head;
11
+
12
+ extern PyGC_Head *_PyGC_generation0;
You can’t perform that action at this time.
0 commit comments