/[gentoo-x86]/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff
Gentoo

Contents of /media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Aug 10 09:21:38 2009 UTC (3 years, 9 months ago) by zzam
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
Fix gcc-4.4 issues, Bug #277409.
(Portage version: 2.1.6.13/cvs/Linux i686)

1 diff -ru picselshow-0.0.2-orig/data.c picselshow-0.0.2/data.c
2 --- picselshow-0.0.2-orig/data.c 2009-08-10 10:56:14.657708090 +0200
3 +++ picselshow-0.0.2/data.c 2009-08-10 11:02:12.287665408 +0200
4 @@ -453,7 +453,7 @@
5
6 bool cFileSource::Action(eAction act)
7 {
8 - static char *str[] = { "mount", "unmount", "eject", "status" };
9 + static const char *str[] = { "mount", "unmount", "eject", "status" };
10
11 char *cmd = 0;
12 asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir);
13 diff -ru picselshow-0.0.2-orig/imagecache.h picselshow-0.0.2/imagecache.h
14 --- picselshow-0.0.2-orig/imagecache.h 2009-08-10 10:56:14.654371019 +0200
15 +++ picselshow-0.0.2/imagecache.h 2009-08-10 11:01:18.421003775 +0200
16 @@ -5,6 +5,7 @@
17 #ifndef VDR_IMAGECACHE_HPP
18 #define VDR_IMAGECACHE_HPP
19
20 +#include <sys/types.h>
21 #include <map>
22 #include <vector>
23 #include <string>

  ViewVC Help
Powered by ViewVC 1.1.13