commit 4a4801a88b39de90d40f7f7bc88e29d8b5a20a55
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Sun Nov 3 21:26:53 2013 +0100

    - rel 11; build fixed

 tvtime-format.patch | 11 +++++++++++
 tvtime.spec         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/tvtime.spec b/tvtime.spec
index c11e7c0..a2cedd4 100644
--- a/tvtime.spec
+++ b/tvtime.spec
@@ -2,7 +2,7 @@ Summary:        A high quality TV viewer
 Summary(pl.UTF-8):     Program do oglądania TV w wysokiej jakości
 Name:          tvtime
 Version:       1.0.2
-Release:       10
+Release:       11
 License:       GPL
 Group:         Applications/Multimedia
 Source0:       
http://downloads.sourceforge.net/tvtime/%{name}-%{version}.tar.gz
@@ -12,6 +12,7 @@ Patch1:               %{name}-gcc.patch
 Patch2:                %{name}-def_user.patch
 Patch3:                %{name}-autodetect_textured_overlay.patch
 Patch4:                %{name}-libpng-1.5.patch
+Patch5:                %{name}-format.patch
 URL:           http://tvtime.sourceforge.net/
 BuildRequires: automake
 BuildRequires: freetype-devel
@@ -52,6 +53,7 @@ wysokiej jakości obrazu, co czyni go idealnym dla wideofili.
 %patch2 -p0
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
diff --git a/tvtime-format.patch b/tvtime-format.patch
new file mode 100644
index 0000000..73c2e94
--- /dev/null
+++ b/tvtime-format.patch
@@ -0,0 +1,11 @@
+--- tvtime-1.0.2/src/tvtimeosd.c~      2005-09-08 03:05:18.000000000 +0200
++++ tvtime-1.0.2/src/tvtimeosd.c       2013-11-03 21:24:40.366698423 +0100
+@@ -558,7 +558,7 @@
+ 
+ void tvtime_osd_set_audio_mode( tvtime_osd_t *osd, const char *audiomode )
+ {
+-    snprintf( osd->audiomode_text, sizeof( osd->audiomode_text ), audiomode );
++    snprintf( osd->audiomode_text, sizeof( osd->audiomode_text ), "%s", 
audiomode );
+ }
+ 
+ void tvtime_osd_set_channel_number( tvtime_osd_t *osd, const char *text )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tvtime.git/commitdiff/4a4801a88b39de90d40f7f7bc88e29d8b5a20a55

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to