|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../alsaplayer/gcc44.patch
|
|
# Copyright (C) 2010 The OpenSDE Project
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
diff -Nur alsaplayer-0.99.80-orig/input/flac/FlacPlugin.cpp alsaplayer-0.99.80/input/flac/FlacPlugin.cpp
|
|
--- alsaplayer-0.99.80-orig/input/flac/FlacPlugin.cpp 2010-09-15 12:20:58.000000000 +0200
|
|
+++ alsaplayer-0.99.80/input/flac/FlacPlugin.cpp 2010-09-15 12:22:00.000000000 +0200
|
|
@@ -239,7 +239,7 @@
|
|
else
|
|
{
|
|
// use stream name
|
|
- char * fname = strrchr (f->name ().c_str (), '/');
|
|
+ const char * fname = 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, '.');
|
|
+ const char *ext = strrchr(name, '.');
|
|
if (!ext)
|
|
return 0.0;
|
|
ext++;
|