rpms/libXrandr/devel libXrandr-1.2.99.4-gop.patch, NONE, 1.1 libXrandr.spec, 1.28, 1.29

Adam Jackson ajax at fedoraproject.org
Wed Feb 4 21:42:48 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/libXrandr/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15707

Modified Files:
	libXrandr.spec 
Added Files:
	libXrandr-1.2.99.4-gop.patch 
Log Message:
* Wed Feb 04 2009 Adam Jackson <ajax at redhat.com> 1.2.99.4-2
- libXrandr-1.2.99.4-gop.patch: Fix encoding of GetOutputPrimary.


libXrandr-1.2.99.4-gop.patch:

--- NEW FILE libXrandr-1.2.99.4-gop.patch ---
diff -up libXrandr-1.2.99.4/src/XrrOutput.c.jx libXrandr-1.2.99.4/src/XrrOutput.c
--- libXrandr-1.2.99.4/src/XrrOutput.c.jx	2008-12-17 11:32:33.000000000 -0500
+++ libXrandr-1.2.99.4/src/XrrOutput.c	2009-02-04 16:40:39.000000000 -0500
@@ -180,7 +180,7 @@ XRRGetOutputPrimary(Display *dpy, Window
     LockDisplay(dpy);
     GetReq (RRGetOutputPrimary, req);
     req->reqType	= info->codes->major_opcode;
-    req->randrReqType	= X_RRGetOutputProperty;
+    req->randrReqType	= X_RRGetOutputPrimary;
     req->window		= window;
 
     if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))


Index: libXrandr.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libXrandr/devel/libXrandr.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- libXrandr.spec	17 Dec 2008 16:40:29 -0000	1.28
+++ libXrandr.spec	4 Feb 2009 21:42:17 -0000	1.29
@@ -1,7 +1,7 @@
 Summary: X.Org X11 libXrandr runtime library
 Name: libXrandr
 Version: 1.2.99.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.x.org
@@ -9,6 +9,8 @@
 
 Source0: http://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
 
+Patch0: libXrandr-1.2.99.4-gop.patch
+
 BuildRequires: xorg-x11-proto-devel
 BuildRequires: pkgconfig(randrproto) >= 1.2.99.3
 BuildRequires: libX11-devel
@@ -32,6 +34,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gop
 
 %build
 %configure  --disable-static
@@ -68,6 +71,9 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed Feb 04 2009 Adam Jackson <ajax at redhat.com> 1.2.99.4-2
+- libXrandr-1.2.99.4-gop.patch: Fix encoding of GetOutputPrimary.
+
 * Wed Dec 17 2008 Adam Jackson <ajax at redhat.com> 1.2.99.4-1
 - libXrandr 1.2.99.4
 




More information about the scm-commits mailing list