aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-ujson/lower-stack-usage.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-08 10:41:55 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-02 01:46:56 +0000
commitfc4d70101acd829174d5d84b0aab3c963c4ee453 (patch)
tree67871bac1046486c2670d496f87abbf23162dce9 /testing/py3-ujson/lower-stack-usage.patch
parentaad2afe051973fa7fd6f4f9b83703c09445ff17c (diff)
downloadaports-fc4d70101acd829174d5d84b0aab3c963c4ee453.tar.bz2
aports-fc4d70101acd829174d5d84b0aab3c963c4ee453.tar.xz
testing/py3-ujson: upgrade to 2.0.1
Diffstat (limited to 'testing/py3-ujson/lower-stack-usage.patch')
-rw-r--r--testing/py3-ujson/lower-stack-usage.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/testing/py3-ujson/lower-stack-usage.patch b/testing/py3-ujson/lower-stack-usage.patch
deleted file mode 100644
index de3258cfde..0000000000
--- a/testing/py3-ujson/lower-stack-usage.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From: Shiz <hi@shiz.me>
-Bug-Report: https://github.com/esnme/ultrajson/issues/254
-
-musl default thread size is 80 kiB, so using 128 kiB by default will
-overflow the stack and cause segmentation faults.
-
-Allocating 128 kiB on the stack is a rather bad idea anyway, so we'll
-lower it to 8 kiB.
---- ultrajson-1.35/lib/ultrajson.h
-+++ ultrajson-1.35-patched/lib/ultrajson.h
-@@ -77,7 +77,7 @@
- /*
- Dictates and limits how much stack space for buffers UltraJSON will use before resorting to provided heap functions */
- #ifndef JSON_MAX_STACK_BUFFER_SIZE
--#define JSON_MAX_STACK_BUFFER_SIZE 131072
-+#define JSON_MAX_STACK_BUFFER_SIZE 8192
- #endif
-
- #ifdef _WIN32