diff options
| author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-08-16 10:41:01 +0200 |
|---|---|---|
| committer | Patrice Clement <monsieurp@gentoo.org> | 2017-08-29 22:18:13 +0200 |
| commit | f61d0e96e2de7346ec9de95a7876e1bb39582dc0 (patch) | |
| tree | bbb9a2ed4de71ae3677bcf064ebba0fc5899e869 /dev-lang/python/files/python-3.4-gcc-5.patch | |
| parent | a19b82681ca646b945bd31be6349436bd626e3ba (diff) | |
| download | gentoo-f61d0e96e2de7346ec9de95a7876e1bb39582dc0.tar.gz gentoo-f61d0e96e2de7346ec9de95a7876e1bb39582dc0.tar.bz2 gentoo-f61d0e96e2de7346ec9de95a7876e1bb39582dc0.zip | |
dev-lang/python: remove unused patches.
Diffstat (limited to 'dev-lang/python/files/python-3.4-gcc-5.patch')
| -rw-r--r-- | dev-lang/python/files/python-3.4-gcc-5.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-lang/python/files/python-3.4-gcc-5.patch b/dev-lang/python/files/python-3.4-gcc-5.patch deleted file mode 100644 index 80afbd1c47bb..000000000000 --- a/dev-lang/python/files/python-3.4-gcc-5.patch +++ /dev/null @@ -1,37 +0,0 @@ -changeset: 94583:689092296ad3 -branch: 3.4 -parent: 94579:645f3d750be1 -user: Victor Stinner <victor.stinner@gmail.com> -date: Wed Feb 11 14:23:35 2015 +0100 -summary: Issue #23433: Fix faulthandler._stack_overflow() - -diff -r 645f3d750be1 -r 689092296ad3 Modules/faulthandler.c ---- a/Modules/faulthandler.c Tue Feb 10 14:49:32 2015 +0100 -+++ b/Modules/faulthandler.c Wed Feb 11 14:23:35 2015 +0100 -@@ -911,12 +911,12 @@ - } - - #if defined(HAVE_SIGALTSTACK) && defined(HAVE_SIGACTION) --static void* --stack_overflow(void *min_sp, void *max_sp, size_t *depth) -+static Py_uintptr_t -+stack_overflow(Py_uintptr_t min_sp, Py_uintptr_t max_sp, size_t *depth) - { - /* allocate 4096 bytes on the stack at each call */ - unsigned char buffer[4096]; -- void *sp = &buffer; -+ Py_uintptr_t sp = (Py_uintptr_t)&buffer; - *depth += 1; - if (sp < min_sp || max_sp < sp) - return sp; -@@ -929,7 +929,8 @@ - faulthandler_stack_overflow(PyObject *self) - { - size_t depth, size; -- char *sp = (char *)&depth, *stop; -+ Py_uintptr_t sp = (Py_uintptr_t)&depth; -+ Py_uintptr_t stop; - - depth = 0; - stop = stack_overflow(sp - STACK_OVERFLOW_MAX_SIZE, - |
