summaryrefslogtreecommitdiff
path: root/extra/cairo/musl-stacksize.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /extra/cairo/musl-stacksize.patch
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'extra/cairo/musl-stacksize.patch')
-rw-r--r--extra/cairo/musl-stacksize.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/extra/cairo/musl-stacksize.patch b/extra/cairo/musl-stacksize.patch
deleted file mode 100644
index d10469e..0000000
--- a/extra/cairo/musl-stacksize.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Reduce the footprint of stack frame usage by turning
-some large(r) structures as `static __thread` instead.
-
---- a/src/cairo-rectangular-scan-converter.c 2015-10-27 22:04:21.000000000 +0100
-+++ b/src/cairo-rectangular-scan-converter.c 2016-05-07 04:25:26.640851782 +0200
-@@ -489,7 +489,7 @@
- cairo_span_renderer_t *renderer,
- rectangle_t **rectangles)
- {
-- sweep_line_t sweep_line;
-+ static __thread sweep_line_t sweep_line;
- rectangle_t *start, *stop;
- cairo_status_t status;
-
-@@ -656,7 +656,7 @@
- cairo_span_renderer_t *renderer)
- {
- cairo_rectangular_scan_converter_t *self = converter;
-- rectangle_t *rectangles_stack[CAIRO_STACK_ARRAY_LENGTH (rectangle_t *)];
-+ static __thread rectangle_t *rectangles_stack[CAIRO_STACK_ARRAY_LENGTH (rectangle_t *)];
- rectangle_t **rectangles;
- struct _cairo_rectangular_scan_converter_chunk *chunk;
- cairo_status_t status;