x11/libX11-1.1.2,1 broken (and easy fix)

Mark Kirkwood markir at paradise.net.nz
Thu Jun 14 10:00:24 UTC 2007


Michal Varga wrote:
> Guys, can someone please commit this? (see Comment #1 for patch):
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=11222
> 
> With this recent Xlib bug, Gimp (and possibly other apps) is seriously
> broken (crashes on every mouse drag, which is quite unpleasant for a 
> drawing
> app).
> 

Yeah - just encountered this with gimp too. Fortunately looks like 
patching the libX11 port and doing build + reinstall of (only) it fixes 
the issue.

I've included a patch the applies the upstream fix to the libX11 port 
(for anyone who needs a working gimp now!).

Cheers

Mark

------ patch ---------
diff -Nacr libX11.orig/files/patch-src::GetMoEv.c 
libX11/files/patch-src::GetMoEv.c
*** libX11.orig/files/patch-src::GetMoEv.c      Thu Jan  1 12:00:00 1970
--- libX11/files/patch-src::GetMoEv.c   Thu Jun 14 21:17:05 2007
***************
*** 0 ****
--- 1,13 ----
+ --- src/GetMoEv.c
+ +++ src/GetMoEv.c
+ @@ -33,9 +33,9 @@ in this Software without prior written authorization 
from The Open Group.
+
+  XTimeCoord *XGetMotionEvents(
+      register Display *dpy,
+ +    Window w,
+      Time start,
+      Time stop,
+ -    Window w,
+      int *nEvents)  /* RETURN */
+  {
+      xGetMotionEventsReply rep;
------ end patch -----



More information about the freebsd-x11 mailing list