- fix building with latest gcc/g++
Changed files:
alsaplayer-g++.patch -> 1.1
alsaplayer.spec -> 1.102
--- /dev/null
+--- alsaplayer-0.99.80/input/flac/FlacPlugin.cpp.orig 2007-10-29 22:00:16.000000000 +0100
++++ alsaplayer-0.99.80/input/flac/FlacPlugin.cpp 2010-06-03 16:59:52.987826407 +0200
+@@ -239,7 +239,7 @@
+ else
+ {
+ // use stream name
+- char * fname = strrchr (f->name ().c_str (), '/');
++ char * fname = (char *)strrchr (f->name ().c_str (), '/');
+ if (fname)
+ {
+ fname++;
+@@ -270,7 +270,7 @@
+ if (strncmp(name, "http://", 7) == 0) {
+ return 0.0;
+ }
+- char *ext = strrchr(name, '.');
++ char *ext = (char *)strrchr(name, '.');
+ if (!ext)
+ return 0.0;
+ ext++;
Summary(pl.UTF-8): Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/Ogg/WAV
Name: alsaplayer
Version: 0.99.80
-Release: 2
+Release: 3
License: GPL v3+
Group: Applications/Sound
Source0: http://www.alsaplayer.org/%{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-docs.patch
+Patch1: %{name}-g++.patch
URL: http://www.alsaplayer.org/
BuildRequires: OpenGL-devel
BuildRequires: alsa-lib-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
rm -f missing