wok-6.x diff alsaplayer/stuff/gcc44.patch @ rev 17449

Up dropbear (2014.66)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 16 18:51:42 2014 +0100 (2014-12-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alsaplayer/stuff/gcc44.patch	Tue Dec 16 18:51:42 2014 +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++;