Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-xxvautotimer/files: vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff vdr-xxvautotimer-0.1.2_compile-warn.diff
Date: Sat, 24 Jan 2009 13:35:40
Message-Id: E1LQifi-0001zx-Cw@stork.gentoo.org
1 hd_brummy 09/01/24 13:35:38
2
3 Added: vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff
4 vdr-xxvautotimer-0.1.2_compile-warn.diff
5 Log:
6 gcc-4.3.x compile fix added; thx to Arrtu Valo on bug 255873
7 (Portage version: 2.1.6.4/cvs/Linux 2.6.21-xen-main-r1 i686)
8
9 Revision Changes Path
10 1.1 media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff?rev=1.1&content-type=text/plain
14
15 Index: vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff
16 ===================================================================
17 http://bugs.gentoo.org/show_bug.cgi?id=255873
18 diff -Naur xxvautotimer-0.1.2.orig/inifile.cpp xxvautotimer-0.1.2/inifile.cpp
19 --- xxvautotimer-0.1.2.orig/inifile.cpp 2009-01-24 12:55:58.165959458 +0100
20 +++ xxvautotimer-0.1.2/inifile.cpp 2009-01-24 12:58:41.539432919 +0100
21 @@ -43,6 +43,9 @@
22 #include <stdarg.h>
23 #include <fstream>
24 #include <float.h>
25 +#include <cstdlib>
26 +#include <cstring>
27 +#include <climits>
28
29 #ifdef WIN32
30 #include <windows.h>
31 diff -Naur xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/enum_t.h xxvautotimer-0.1.2/mysqlwrapped-1.4/enum_t.h
32 --- xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/enum_t.h 2009-01-24 12:55:58.165959458 +0100
33 +++ xxvautotimer-0.1.2/mysqlwrapped-1.4/enum_t.h 2009-01-24 12:57:48.299275050 +0100
34 @@ -22,6 +22,7 @@
35
36 #include <string>
37 #include <map>
38 +#include <cstring>
39 #ifdef WIN32
40 #include <config-win.h>
41 #include <mysql.h>
42 diff -Naur xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/SysLog.cpp xxvautotimer-0.1.2/mysqlwrapped-1.4/SysLog.cpp
43 --- xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/SysLog.cpp 2009-01-24 12:55:58.165959458 +0100
44 +++ xxvautotimer-0.1.2/mysqlwrapped-1.4/SysLog.cpp 2009-01-24 12:57:14.999276857 +0100
45 @@ -25,6 +25,7 @@
46
47 #include <mysql/mysql.h>
48 #include <syslog.h>
49 +#include <cstring>
50
51 #include "Database.h"
52 #include "Query.h"
53
54
55
56
57 1.1 media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff
58
59 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff?rev=1.1&view=markup
60 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff?rev=1.1&content-type=text/plain
61
62 Index: vdr-xxvautotimer-0.1.2_compile-warn.diff
63 ===================================================================
64 diff -Naur xxvautotimer-0.1.2.orig/setup.h xxvautotimer-0.1.2/setup.h
65 --- xxvautotimer-0.1.2.orig/setup.h 2009-01-24 13:24:34.245788686 +0100
66 +++ xxvautotimer-0.1.2/setup.h 2009-01-24 13:25:52.750838304 +0100
67 @@ -22,19 +22,19 @@
68 class cXxvAutotimerSetup
69 {
70 public:
71 - char *allowed;
72 - char *strHost;
73 - char *strTelnetPort;
74 - char *strDatabase;
75 - char *strDatabasePort;
76 - char *strDatabaseUser;
77 - char *strDatabasePasswd;
78 - char *strLifetime;
79 - char *strPriority;
80 - char *strPrevMinutes;
81 - char *strAfterMinutes;
82 - char *strXXV020;
83 - char *strDefaultDone;
84 + const char *allowed;
85 + const char *strHost;
86 + const char *strTelnetPort;
87 + const char *strDatabase;
88 + const char *strDatabasePort;
89 + const char *strDatabaseUser;
90 + const char *strDatabasePasswd;
91 + const char *strLifetime;
92 + const char *strPriority;
93 + const char *strPrevMinutes;
94 + const char *strAfterMinutes;
95 + const char *strXXV020;
96 + const char *strDefaultDone;
97
98 char host[50];
99 int telnetPort;