Author: baggins Date: Thu Jun 3 15:00:44 2010 GMT Module: packages Tag: HEAD ---- Log message: - rel 3 - fix building with latest gcc/g++
---- Files affected: packages/alsaplayer: alsaplayer.spec (1.101 -> 1.102) , alsaplayer-g++.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/alsaplayer/alsaplayer.spec diff -u packages/alsaplayer/alsaplayer.spec:1.101 packages/alsaplayer/alsaplayer.spec:1.102 --- packages/alsaplayer/alsaplayer.spec:1.101 Thu Jun 3 13:10:05 2010 +++ packages/alsaplayer/alsaplayer.spec Thu Jun 3 17:00:38 2010 @@ -11,7 +11,7 @@ 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 @@ -19,6 +19,7 @@ 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 @@ -379,6 +380,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build rm -f missing @@ -551,6 +553,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.102 2010/06/03 15:00:38 baggins +- rel 3 +- fix building with latest gcc/g++ + Revision 1.101 2010/06/03 11:10:05 baggins - rel 2 - disabled esound ================================================================ Index: packages/alsaplayer/alsaplayer-g++.patch diff -u /dev/null packages/alsaplayer/alsaplayer-g++.patch:1.1 --- /dev/null Thu Jun 3 17:00:44 2010 +++ packages/alsaplayer/alsaplayer-g++.patch Thu Jun 3 17:00:38 2010 @@ -0,0 +1,20 @@ +--- 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++; ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/alsaplayer/alsaplayer.spec?r1=1.101&r2=1.102&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
