rpms/tvtime/F-7 tvtime-1.0.1-fsbadval.patch, NONE, 1.1 tvtime.spec, 1.29, 1.30

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Thu Mar 6 13:19:43 UTC 2008


Author: tsmetana

Update of /cvs/pkgs/rpms/tvtime/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21883

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-7
- 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/F-7/tvtime.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- tvtime.spec	13 Jul 2006 10:01:54 -0000	1.29
+++ tvtime.spec	6 Mar 2008 13:19:09 -0000	1.30
@@ -1,7 +1,7 @@
 Summary: A high quality TV viewer.
 Name: tvtime
 Version: 1.0.1
-Release: 6
+Release: 7%{?dist}
 License: GPL
 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-7
+- fix #235622 - X error when toggling fullscreen
+
 * Thu Jul 13 2006 Than Ngo <than at redhat.com> 1.0.1-6
 - fix build problem
 




More information about the fedora-extras-commits mailing list