diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /gfx/cairo/12-pdf-surface-typo.patch | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream/1%115.7.0.tar.xz thunderbird-upstream/1%115.7.0.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/cairo/12-pdf-surface-typo.patch')
-rw-r--r-- | gfx/cairo/12-pdf-surface-typo.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/cairo/12-pdf-surface-typo.patch b/gfx/cairo/12-pdf-surface-typo.patch new file mode 100644 index 0000000000..53bb47b967 --- /dev/null +++ b/gfx/cairo/12-pdf-surface-typo.patch @@ -0,0 +1,12 @@ +diff --git a/gfx/cairo/cairo/src/cairo-pdf-surface.c b/gfx/cairo/cairo/src/cairo-pdf-surface.c +--- a/gfx/cairo/cairo/src/cairo-pdf-surface.c ++++ b/gfx/cairo/cairo/src/cairo-pdf-surface.c +@@ -7560,7 +7560,7 @@ static cairo_int_status_t + if (_cairo_surface_get_extents (surface_pattern->surface, &rec_extents)) { + if (_cairo_fixed_integer_ceil(box.p1.x) < rec_extents.x || + _cairo_fixed_integer_ceil(box.p1.y) < rec_extents.y || +- _cairo_fixed_integer_floor(box.p2.y) > rec_extents.x + rec_extents.width || ++ _cairo_fixed_integer_floor(box.p2.x) > rec_extents.x + rec_extents.width || + _cairo_fixed_integer_floor(box.p2.y) > rec_extents.y + rec_extents.height) + { + return CAIRO_INT_STATUS_UNSUPPORTED; |