Author: belegdol
Update of /cvs/free/rpms/gnome-mplayer/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17658
Modified Files:
gnome-mplayer.spec
Added Files:
gnome-mplayer-parse.patch
Log Message:
Fixed the minimal build
gnome-mplayer-parse.patch:
--- NEW FILE gnome-mplayer-parse.patch ---
Index: src/libgmlib/gm_parse.h
===================================================================
--- src/libgmlib/gm_parse.h (revision 1545)
+++ src/libgmlib/gm_parse.h (working copy)
@@ -29,6 +29,7 @@
#else
#include <stdio.h>
#endif
+#include <string.h>
#ifdef __cplusplus
extern "C" {
Index: src/libgmlib/gm_parse.c
===================================================================
--- src/libgmlib/gm_parse.c (revision 1545)
+++ src/libgmlib/gm_parse.c (working copy)
@@ -159,6 +159,7 @@
#else
FILE *fp;
+ gchar **parse;
gchar *file = NULL;
file = g_strndup(uri, 4);
Index: gnome-mplayer.spec
===================================================================
RCS file: /cvs/free/rpms/gnome-mplayer/F-11/gnome-mplayer.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- gnome-mplayer.spec 19 Sep 2009 19:08:45 -0000 1.23
+++ gnome-mplayer.spec 20 Sep 2009 23:12:11 -0000 1.24
@@ -7,6 +7,7 @@
License: GPLv2+
URL:
http://kdekorte.googlepages.com/gnomemplayer
Source0:
http://gnome-mplayer.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0: gnome-mplayer-parse.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
@@ -90,6 +91,9 @@
mv %{name}-%{version} generic
tar -xzf %{SOURCE0}
mv %{name}-%{version} minimal
+pushd minimal
+%patch0 -p0 -b .parse
+popd
%build