Aldas Nabazas
14 years ago
committed by
Alejandro Mery
2 changed files with 64 additions and 0 deletions
@ -0,0 +1,37 @@ |
|||||||
|
# --- 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++;
|
@ -0,0 +1,27 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||||
|
#
|
||||||
|
# Filename: package/.../alsaplayer/glibc.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 ---
|
||||||
|
|
||||||
|
--- ./app/ControlSocket.cpp.orig 2007/07/08 14:31:34 1251
|
||||||
|
+++ ./app/ControlSocket.cpp 2009/07/26 19:22:23 1335
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
#include <sys/un.h>
|
||||||
|
#include <csignal>
|
||||||
|
#include <pwd.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
#include "control.h"
|
||||||
|
#include "message.h"
|
||||||
|
#include "Playlist.h"
|
||||||
|
|
Loading…
Reference in new issue