pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Quick (non)fix for getting cairo working again?



On Thu, Oct 25, 2012 at 04:50:48PM +0200, Jan Danielsson wrote:
> Hello,
> 
>    What is the proper cvs command to get cairo in working order again?

You could test adding this (yet untested) patch, following a hint from
the cairo mailing list.

Martin
--- src/cairo-xlib-surface-shm.c.orig   2012-10-21 10:13:41.000000000 +0200
+++ src/cairo-xlib-surface-shm.c        2012-10-25 17:34:21.000000000 +0200
@@ -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));
 }
 


Home | Main Index | Thread Index | Old Index