rpms/xscreensaver/F-11 xscreensaver-5.08-randr-ncrtc-from-gentoo.patch, NONE, 1.1 xscreensaver.spec, 1.89, 1.90

Mamoru Tasaka mtasaka at fedoraproject.org
Thu Jun 11 06:56:53 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/xscreensaver/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12794

Modified Files:
	xscreensaver.spec 
Added Files:
	xscreensaver-5.08-randr-ncrtc-from-gentoo.patch 
Log Message:
* Thu Jun 11 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:5.08-10
- Fix crash on startup when randr reports no rroi->ncrtc
  (bug 504912), patch from gentoo


xscreensaver-5.08-randr-ncrtc-from-gentoo.patch:

--- NEW FILE xscreensaver-5.08-randr-ncrtc-from-gentoo.patch ---
--- driver/screens.c.orig	2009-04-30 17:59:02.000000000 -0700
+++ driver/screens.c	2009-04-30 18:01:32.000000000 -0700
@@ -436,7 +436,7 @@
               XRROutputInfo *rroi = XRRGetOutputInfo (dpy, res, 
                                                       res->outputs[k]);
               RRCrtc crtc = (rroi->crtc  ? rroi->crtc :
-                             rroi->crtcs ? rroi->crtcs[0] : 0);
+                             rroi->ncrtc ? rroi->crtcs[0] : 0);
               XRRCrtcInfo *crtci = (crtc ? XRRGetCrtcInfo(dpy, res, crtc) : 0);
 
               monitors[j] = m;


Index: xscreensaver.spec
===================================================================
RCS file: /cvs/extras/rpms/xscreensaver/F-11/xscreensaver.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -p -r1.89 -r1.90
--- xscreensaver.spec	23 Feb 2009 21:37:23 -0000	1.89
+++ xscreensaver.spec	11 Jun 2009 06:56:52 -0000	1.90
@@ -5,7 +5,7 @@
 
 
 %define modular_conf  1
-%define fedora_rel    9
+%define fedora_rel    10
 
 %define extrarel      %{nil}
 
@@ -32,14 +32,21 @@ Source0:         http://www.jwz.org/xscr
 Source10:        update-xscreensaver-hacks
 %endif
 # bug 129335
+# sanitize the name of modes in barcode
 Patch1:          xscreensaver-5.00b5-sanitize-hacks.patch
 # Change webcollage not to access to net
 # Also see bug 472061
 Patch21:         xscreensaver-5.07-webcollage-default-nonet.patch
 # Reported from upstream, sent upstream
+# pot file are not regenerated correctly
 Patch50:         xscreensaver-5.08-po-recreate.patch
 # bug 481146, sent upstream
+# phosphor crashes when resizing window
 Patch51:         xscreensaver-5.08-phosphor-segv.patch
+# bug 504912, must be reported to upstream
+# ref: gentoo http://bugs.gentoo.org/show_bug.cgi?id=249680
+# xscreensaver crashes when randr reportes 0 rroi->ncrtc
+Patch52:         xscreensaver-5.08-randr-ncrtc-from-gentoo.patch 
 Requires:        xscreensaver-base = %{epoch}:%{version}-%{release}
 Requires:        xscreensaver-extras = %{epoch}:%{version}-%{release}
 Requires:        xscreensaver-gl-extras = %{epoch}:%{version}-%{release}
@@ -194,6 +201,7 @@ This package contains some test programs
 %patch21 -p1 -b .nonet
 %patch50 -p1 -b .po
 %patch51 -p1 -b .phosphor
+%patch52 -p0 -b .randr_ncrtc
 
 change_option(){
    set +x
@@ -644,6 +652,10 @@ exit 0
 %defattr(-,root,root,-)
 
 %changelog
+* Thu Jun 11 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:5.08-10
+- Fix crash on startup when randr reports no rroi->ncrtc
+  (bug 504912), patch from gentoo
+
 * Tue Feb 24 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1:5.08-9
 - F-11: Mass rebuild
 




More information about the fedora-extras-commits mailing list