summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/disable-server-gradients.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /gfx/cairo/disable-server-gradients.patch
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/cairo/disable-server-gradients.patch')
-rw-r--r--gfx/cairo/disable-server-gradients.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/gfx/cairo/disable-server-gradients.patch b/gfx/cairo/disable-server-gradients.patch
new file mode 100644
index 0000000000..2d8fb5b6d3
--- /dev/null
+++ b/gfx/cairo/disable-server-gradients.patch
@@ -0,0 +1,21 @@
+commit 31579379422b75c3fe01b75d363e03f9b1e85604
+Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
+Date: Fri Mar 12 16:07:59 2010 -0500
+
+ xlib bugs
+
+diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c
+index a7a40b8..566d9fb 100644
+--- a/src/cairo-xlib-display.c
++++ b/src/cairo-xlib-display.c
+@@ -407,6 +407,10 @@ _cairo_xlib_display_get (Display *dpy,
+ display->buggy_pad_reflect = TRUE;
+ }
+
++ /* gradients don't seem to work */
++ display->buggy_gradients = TRUE;
++
++
+ /* XXX workaround; see https://bugzilla.mozilla.org/show_bug.cgi?id=413583 */
+ /* If buggy_repeat_force == -1, then initialize.
+ * - set to -2, meaning "nothing was specified", and we trust the above detection.