]> git.pld-linux.org Git - packages/alsaplayer.git/blob - alsaplayer-g++.patch
- rel 4
[packages/alsaplayer.git] / alsaplayer-g++.patch
1 --- alsaplayer-0.99.80/input/flac/FlacPlugin.cpp.orig   2007-10-29 22:00:16.000000000 +0100
2 +++ alsaplayer-0.99.80/input/flac/FlacPlugin.cpp        2010-06-03 16:59:52.987826407 +0200
3 @@ -239,7 +239,7 @@
4      else
5      {
6         // use stream name
7 -       char * fname = strrchr (f->name ().c_str (), '/');
8 +       char * fname = (char *)strrchr (f->name ().c_str (), '/');
9         if (fname)
10         {
11             fname++;
12 @@ -270,7 +270,7 @@
13         if (strncmp(name, "http://", 7) == 0) {
14                 return 0.0;
15         }
16 -       char *ext = strrchr(name, '.');
17 +       char *ext = (char *)strrchr(name, '.');
18         if (!ext)
19                 return 0.0;
20         ext++;
21 --- alsaplayer-0.99.80/app/ControlSocket.cpp~   2007-07-08 16:27:31.000000000 +0200
22 +++ alsaplayer-0.99.80/app/ControlSocket.cpp    2010-06-03 17:06:32.781825835 +0200
23 @@ -21,6 +21,7 @@
24  #include <cstdio>
25  #include <cstdlib>
26  #include <unistd.h>
27 +#include <limits.h>
28  #include <sys/types.h>
29  #include <sys/stat.h>
30  #include <sys/socket.h>
This page took 0.059604 seconds and 3 git commands to generate.