r1917 - trunk/packages/Xorg-lib

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Mon Jun 11 02:13:29 PDT 2007


Author: alexander
Date: 2007-06-11 03:13:28 -0600 (Mon, 11 Jun 2007)
New Revision: 1917

Added:
   trunk/packages/Xorg-lib/libX11-1.1.2-bug11222-1.patch
Modified:
   trunk/packages/Xorg-lib/Makefile
Log:
Fixed crash in libX11. See https://bugs.freedesktop.org/show_bug.cgi?id=11222
for more information.



Modified: trunk/packages/Xorg-lib/Makefile
===================================================================
--- trunk/packages/Xorg-lib/Makefile	2007-06-11 08:09:37 UTC (rev 1916)
+++ trunk/packages/Xorg-lib/Makefile	2007-06-11 09:13:28 UTC (rev 1917)
@@ -179,6 +179,12 @@
 	make
 	make install
 
+compile-libX11-1.1.2-stage2:
+	patch -Np1 -i ../libX11-1.1.2-bug11222-1.patch
+	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+	make
+	make install
+
 %-stage2:
 	$(std_build)
 

Added: trunk/packages/Xorg-lib/libX11-1.1.2-bug11222-1.patch
===================================================================
--- trunk/packages/Xorg-lib/libX11-1.1.2-bug11222-1.patch	                        (rev 0)
+++ trunk/packages/Xorg-lib/libX11-1.1.2-bug11222-1.patch	2007-06-11 09:13:28 UTC (rev 1917)
@@ -0,0 +1,15 @@
+diff --git a/src/GetMoEv.c b/src/GetMoEv.c
+index 2aa6c1a..dac1bfc 100644
+--- a/src/GetMoEv.c
++++ b/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;




More information about the livecd mailing list