rpms/libX11/devel libX11-1.1.2-GetMotionEvents.patch, NONE, 1.1 libX11.spec, 1.37, 1.38

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Mon Sep 17 13:51:08 UTC 2007


Author: ajax

Update of /cvs/pkgs/rpms/libX11/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20941

Modified Files:
	libX11.spec 
Added Files:
	libX11-1.1.2-GetMotionEvents.patch 
Log Message:
* Mon Sep 17 2007 Adam Jackson <ajax at redhat.com> 1.1.2-3
- libX11-1.1.2-GetMotionEvents.patch: Fix the definition of XGetMotionEvents
  to match the argument order in the headers. (#274671)


libX11-1.1.2-GetMotionEvents.patch:

--- NEW FILE libX11-1.1.2-GetMotionEvents.patch ---
diff -up libX11-1.1.2/src/GetMoEv.c.jx libX11-1.1.2/src/GetMoEv.c
--- libX11-1.1.2/src/GetMoEv.c.jx	2007-06-02 13:46:55.000000000 -0400
+++ libX11-1.1.2/src/GetMoEv.c	2007-09-17 09:30:24.000000000 -0400
@@ -33,9 +33,9 @@ in this Software without prior written a
 
 XTimeCoord *XGetMotionEvents(
     register Display *dpy,
+    Window w,
     Time start, 
     Time stop,
-    Window w,
     int *nEvents)  /* RETURN */
 {       
     xGetMotionEventsReply rep;


Index: libX11.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libX11/devel/libX11.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- libX11.spec	21 Aug 2007 20:07:04 -0000	1.37
+++ libX11.spec	17 Sep 2007 13:50:36 -0000	1.38
@@ -1,7 +1,7 @@
 Summary: X.Org X11 libX11 runtime library
 Name: libX11
 Version: 1.1.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MIT/X11
 Group: System Environment/Libraries
 URL: http://www.x.org
@@ -15,6 +15,7 @@
 # manually confirm each patch hunk before removal.
 Patch2: dont-forward-keycode-0.patch
 Patch3: bug-201284.patch
+Patch4: libX11-1.1.2-GetMotionEvents.patch
 
 BuildRequires: pkgconfig
 # xproto >= 7.0.6 required
@@ -56,6 +57,7 @@
 #%patch0 -p0 -b .datadir-locale-dir-fix
 %patch2 -p1 -b .dont-forward-keycode-0
 %patch3 -p1 -b .3-bug201284
+%patch4 -p1 -b .getmoev
 
 %build
 %configure \
@@ -245,6 +247,10 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Sep 17 2007 Adam Jackson <ajax at redhat.com> 1.1.2-3
+- libX11-1.1.2-GetMotionEvents.patch: Fix the definition of XGetMotionEvents
+  to match the argument order in the headers. (#274671)
+
 * Tue Aug 21 2007 Adam Jackson <ajax at redhat.com> - 1.1.2-2
 - Rebuild for build id
 




More information about the scm-commits mailing list