wok-current diff alsaplayer/stuff/gcc44.patch @ rev 14529
Add avfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 18 13:45:09 2013 +0200 (2013-05-18) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/alsaplayer/stuff/gcc44.patch Sat May 18 13:45:09 2013 +0200 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++;