rpms/tvtime/devel tvtime-1.0.1-fsbadval.patch, NONE, 1.1 tvtime.spec, 1.30, 1.31

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Thu Mar 6 12:41:26 UTC 2008


Author: tsmetana

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

Modified Files:
	tvtime.spec 
Added Files:
	tvtime-1.0.1-fsbadval.patch 
Log Message:
* Thu Mar 06 2008 Tomas Smetana <tsmetana at redhat.com> 1.0.1-8
- fix #235622 - X error when toggling fullscreen


tvtime-1.0.1-fsbadval.patch:

--- NEW FILE tvtime-1.0.1-fsbadval.patch ---
diff -up tvtime-1.0.1/src/xfullscreen.c.fsbadval tvtime-1.0.1/src/xfullscreen.c
--- tvtime-1.0.1/src/xfullscreen.c.fsbadval	2008-03-06 13:31:10.000000000 +0100
+++ tvtime-1.0.1/src/xfullscreen.c	2008-03-06 13:31:47.000000000 +0100
@@ -263,6 +263,10 @@ void xfullscreen_get_position( xfullscre
         int max_area = -1;
         int i;
 
+        *x = xf->heads[ 0 ].x;
+        *y = xf->heads[ 0 ].y;
+        *w = xf->heads[ 0 ].w;
+        *h = xf->heads[ 0 ].h;
         for( i = 0; i < xf->nheads; i++ ) {
             int head_x1 = xf->heads[ i ].x;
             int head_x2 = xf->heads[ i ].x + xf->heads[ i ].w - 1;


Index: tvtime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tvtime/devel/tvtime.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- tvtime.spec	12 Feb 2008 15:03:36 -0000	1.30
+++ tvtime.spec	6 Mar 2008 12:40:50 -0000	1.31
@@ -1,7 +1,7 @@
 Summary: A high quality TV viewer
 Name: tvtime
 Version: 1.0.1
-Release: 7
+Release: 8
 License: GPLv2+ and LGPLv2+
 Group: Applications/Multimedia
 URL: http://tvtime.sourceforge.net
@@ -9,6 +9,7 @@
 Patch0: tvtime-0.9.13-pie.patch
 Patch1: tvtime-1.0.1-gcc4.1.patch
 Patch2: tvtime-1.0.1-header.patch
+Patch3: tvtime-1.0.1-fsbadval.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -46,6 +47,7 @@
 %setup -q
 %patch1 -p1 -b .gcc
 %patch2 -p1 -b .header
+%patch3 -p1 -b .fsbadval
 
 for i in docs/man/de/*.?; do
 	iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
@@ -100,6 +102,9 @@
 %{_bindir}/tvtime
 
 %changelog
+* Thu Mar 06 2008 Tomas Smetana <tsmetana at redhat.com> 1.0.1-8
+- fix #235622 - X error when toggling fullscreen
+
 * Tue Feb 12 2008 Tomas Smetana <tsmetana at redhat.com> 1.0.1-7
 - fix license tag and summary
 - rebuild (gcc-4.3)




More information about the fedora-extras-commits mailing list