diff options
author | wiz <wiz> | 2012-10-26 21:49:23 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-10-26 21:49:23 +0000 |
commit | 7f62ece3ccf4ae50b994ff5f7a4289a1126d3bdc (patch) | |
tree | edfde1151bb5f67ff5889da1c57917ef472fa2a4 /graphics/cairo/patches | |
parent | f789fa84a93032dd8c113c05e43379237af34eb2 (diff) | |
download | pkgsrc-7f62ece3ccf4ae50b994ff5f7a4289a1126d3bdc.tar.gz |
Add another patch from upstream fixing martin's firefox problem,
tested by martin. Bump PKGREVISION.
Diffstat (limited to 'graphics/cairo/patches')
-rw-r--r-- | graphics/cairo/patches/patch-src_cairo-xlib-surface-shm.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/cairo/patches/patch-src_cairo-xlib-surface-shm.c b/graphics/cairo/patches/patch-src_cairo-xlib-surface-shm.c new file mode 100644 index 00000000000..d60d25dfb50 --- /dev/null +++ b/graphics/cairo/patches/patch-src_cairo-xlib-surface-shm.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_cairo-xlib-surface-shm.c,v 1.5 2012/10/26 21:49:23 wiz Exp $ + +Recognize Xorg servers as well as X.org servers. From Chris Wilson (upstream); +fixes some more firefox issues. + +--- src/cairo-xlib-surface-shm.c.orig 2012-10-21 08:13:41.000000000 +0000 ++++ src/cairo-xlib-surface-shm.c +@@ -1141,7 +1141,8 @@ xorg_has_buggy_send_shm_completion_event + * + * Remove the SendEvent bit (0x80) before doing range checks on event type. + */ +- return (strstr (ServerVendor (dpy), "X.Org") != NULL && ++ return ((strstr (ServerVendor (dpy), "X.Org") != NULL || ++ strstr (ServerVendor (dpy), "Xorg") != NULL ) && + VendorRelease (dpy) < XORG_VERSION_ENCODE(1,11,0,1)); + } + |