Author: belegdol
Update of /cvs/free/rpms/gecko-mediaplayer/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv31485
Modified Files:
gecko-mediaplayer.spec
Added Files:
gecko-mediaplayer-0.9.3-console.patch
Log Message:
* Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2
- Added patch fixing rpmfusion bug #290 from SVN
gecko-mediaplayer-0.9.3-console.patch:
--- NEW FILE gecko-mediaplayer-0.9.3-console.patch ---
Index: src/plugin_setup.cpp
===================================================================
--- src/plugin_setup.cpp (wersja 262)
+++ src/plugin_setup.cpp (wersja 263)
@@ -42,7 +42,7 @@
void new_instance(nsPluginInstance * instance, nsPluginCreateData * parameters)
{
- gint i;
+ gint i,j;
gint newwindow = 0;
gint loop = 0;
gboolean autohref = FALSE;
@@ -71,6 +71,11 @@
if (g_ascii_strcasecmp(parameters->argn[i], "console") == 0) {
instance->console = g_strdup(parameters->argv[i]);
+ for (j = 0; j < strlen(instance->console); j++) {
+ if (!g_ascii_isalnum(instance->console[j])) {
+ instance->console[j] = 'a';
+ }
+ }
}
if (g_ascii_strcasecmp(parameters->argn[i], "controls") == 0) {
Index: gecko-mediaplayer.spec
===================================================================
RCS file: /cvs/free/rpms/gecko-mediaplayer/F-10/gecko-mediaplayer.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gecko-mediaplayer.spec 3 Jan 2009 08:59:45 -0000 1.10
+++ gecko-mediaplayer.spec 8 Jan 2009 18:35:00 -0000 1.11
@@ -1,12 +1,13 @@
Name: gecko-mediaplayer
Version: 0.9.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Gnome MPlayer browser plugin
Group: Applications/Multimedia
License: GPLv2+
URL:
http://code.google.com/p/gecko-mediaplayer/
Source0:
http://gecko-mediaplayer.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0: gecko-mediaplayer-0.9.3-console.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-glib-devel
@@ -32,6 +33,7 @@
%prep
%setup -q
+%patch0 -p0 -b .console
%build
@@ -95,6 +97,9 @@
%changelog
+* Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2
+- Added patch fixing rpmfusion bug #290 from SVN
+
* Sat Jan 3 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-1
- Updated to 0.9.3