- libX11-1.1.2-GetMotionEvents.patch: Fix the definition of
XGetMotionEvents to match the argument order in the headers. (#274671)
This commit is contained in:
parent
6f50095365
commit
b8f706ed1e
14
libX11-1.1.2-GetMotionEvents.patch
Normal file
14
libX11-1.1.2-GetMotionEvents.patch
Normal file
@ -0,0 +1,14 @@
|
||||
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;
|
@ -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 @@ Patch0: libX11-0.99.3-datadir-locale-dir-fix.patch
|
||||
# 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 @@ X.Org X11 libX11 development package
|
||||
#%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 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 17 2007 Adam Jackson <ajax@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@redhat.com> - 1.1.2-2
|
||||
- Rebuild for build id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user