wok-6.x diff alsaplayer/stuff/gcc44.patch @ rev 8575
imported patch get/thunderbird-langpack-es_ES
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/alsaplayer/stuff/gcc44.patch Sun Feb 13 22:57:56 2011 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +--- app/ControlSocket.cpp 2009-07-04 22:34:38.000000000 +0200 1.5 ++++ app/ControlSocket.cpp 2009-07-04 22:35:53.000000000 +0200 1.6 +@@ -28,6 +28,7 @@ 1.7 + #include <sys/un.h> 1.8 + #include <csignal> 1.9 + #include <pwd.h> 1.10 ++#include <climits> 1.11 + #include "control.h" 1.12 + #include "message.h" 1.13 + #include "Playlist.h" 1.14 + 1.15 +--- input/flac/FlacPlugin.cpp Mon Oct 29 22:00:16 2007 1.16 ++++ input/flac/FlacPlugin.cpp Thu Aug 6 13:42:44 2009 1.17 +@@ -239,7 +239,7 @@ 1.18 + else 1.19 + { 1.20 + // use stream name 1.21 +- char * fname = strrchr (f->name ().c_str (), '/'); 1.22 ++ const char * fname = strrchr (f->name ().c_str (), '/'); 1.23 + if (fname) 1.24 + { 1.25 + fname++; 1.26 +@@ -270,7 +270,7 @@ 1.27 + if (strncmp(name, "http://", 7) == 0) { 1.28 + return 0.0; 1.29 + } 1.30 +- char *ext = strrchr(name, '.'); 1.31 ++ const char *ext = strrchr(name, '.'); 1.32 + if (!ext) 1.33 + return 0.0; 1.34 + ext++;