diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2025-05-04 15:48:31 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2025-05-25 23:19:08 -0500 |
commit | 957e3dec075733f43007e1f62915db5ce257c49c (patch) | |
tree | 129eeaaae462448b94462be4111b54d65b196d8c /user/cairo/cairo-webkit-html5-fix.patch | |
parent | fd16217fd2f20e3021effd42ff6d21298f9b00fb (diff) | |
download | packages-957e3dec075733f43007e1f62915db5ce257c49c.tar.gz packages-957e3dec075733f43007e1f62915db5ce257c49c.tar.bz2 packages-957e3dec075733f43007e1f62915db5ce257c49c.tar.xz packages-957e3dec075733f43007e1f62915db5ce257c49c.zip |
user/cairo: Update to 1.18.4
* Remove Infinality patch set, and bring in the two still-relevant ones.
* Change to the Meson build system.
Diffstat (limited to 'user/cairo/cairo-webkit-html5-fix.patch')
-rw-r--r-- | user/cairo/cairo-webkit-html5-fix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/cairo/cairo-webkit-html5-fix.patch b/user/cairo/cairo-webkit-html5-fix.patch new file mode 100644 index 000000000..07c5c6db8 --- /dev/null +++ b/user/cairo/cairo-webkit-html5-fix.patch @@ -0,0 +1,30 @@ +From 0742b90a214b35951414558f6f5579f79b8a8194 Mon Sep 17 00:00:00 2001 +From: Massimo Valentini <mvalentini@src.gnome.org> +Date: Thu, 21 Aug 2014 17:15:51 +0200 +Subject: [PATCH] Fix segfault rendering videos in webkit based browsers + +do not tessellate empty boxes. + +Reported-by: Henrique Lengler <henriqueleng@openmailbox.org> +Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81699 +--- + src/cairo-bentley-ottmann-rectangular.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/cairo-bentley-ottmann-rectangular.c b/src/cairo-bentley-ottmann-rectangular.c +index 5541bdc..4bcd8d1 100644 +--- a/src/cairo-bentley-ottmann-rectangular.c ++++ b/src/cairo-bentley-ottmann-rectangular.c +@@ -834,6 +834,9 @@ _cairo_bentley_ottmann_tessellate_boxes (const cairo_boxes_t *in, + for (i = 0; i < chunk->count; i++) { + int h; + ++ if (box[i].p1.y == box[i].p2.y) ++ continue; ++ + if (box[i].p1.x < box[i].p2.x) { + rectangles[j].left.x = box[i].p1.x; + rectangles[j].left.dir = 1; +-- +1.9.3 + |