[gqradio] Fixed bug #992427 - gqradio: FTBFS in rawhide
Paulo Roma Cavalcanti
roma at fedoraproject.org
Tue May 6 01:06:23 UTC 2014
commit 9e5cdb5ecc0c2bcab626173313fa71d3e1cbe0bd
Author: Paulo Roma Cavalcanti <promac at gmail.com>
Date: Mon May 5 22:05:59 2014 -0300
Fixed bug #992427 - gqradio: FTBFS in rawhide
gqradio-1.9.2-ftbfs.patch | 12 ++++++++++++
gqradio.spec | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gqradio-1.9.2-ftbfs.patch b/gqradio-1.9.2-ftbfs.patch
new file mode 100644
index 0000000..8ac9506
--- /dev/null
+++ b/gqradio-1.9.2-ftbfs.patch
@@ -0,0 +1,12 @@
+diff -Naur gqradio-1.9.2/src/ui_fileops.c gqradio-1.9.2-new/src/ui_fileops.c
+--- gqradio-1.9.2/src/ui_fileops.c 2005-02-22 20:40:49.000000000 -0300
++++ gqradio-1.9.2-new/src/ui_fileops.c 2014-05-05 21:52:18.121233702 -0300
+@@ -44,7 +44,7 @@
+ gchar *text_l;
+
+ text_l = g_locale_from_utf8(text_utf8, -1, NULL, NULL, NULL);
+- printf((text_l) ? text_l : text_utf8);
++ printf("%s", (text_l) ? text_l : text_utf8);
+ g_free(text_l);
+ }
+
diff --git a/gqradio.spec b/gqradio.spec
index 345063f..fcabc15 100644
--- a/gqradio.spec
+++ b/gqradio.spec
@@ -9,6 +9,7 @@ Source0: http://download.sourceforge.net/gqmpeg/gqradio-%{version}.tar.gz
Patch0: gqradio-1.9.2-radiodev.patch
Patch1: gqradio-1.9.2-ld.patch
Patch2: gqradio-1.9.2-v4l2.patch
+Patch3: gqradio-1.9.2-ftbfs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils, gettext
BuildRequires: gtk2-devel >= 2.4
@@ -22,6 +23,7 @@ Interfaces with video4linux compatible radio tuner cards.
%patch0 -p1 -b .radiodev
%patch1 -p1 -b .v4l2
%patch2 -p1 -b .ld
+%patch3 -p1 -b .ftbfs
for i in ./SKIN-SPECS ; do
iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
@@ -62,6 +64,7 @@ rm -rf %{buildroot}
%changelog
* Mon May 05 2014 Paulo Roma <roma at lcg.ufrj.br> - 1.9.2-12
- Added docdir files.
+- Applied ftfbs patch.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.9.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list