diff options
author | 2009-01-24 13:35:38 +0000 | |
---|---|---|
committer | 2009-01-24 13:35:38 +0000 | |
commit | 7724dcd28e4256949bc78c07a56d0df143961d97 (patch) | |
tree | f2b76dc3f7fe099296f46d2be374df7f7b47e9ec /media-plugins/vdr-xxvautotimer/files | |
parent | ppc stable #256029 (diff) | |
download | historical-7724dcd28e4256949bc78c07a56d0df143961d97.tar.gz historical-7724dcd28e4256949bc78c07a56d0df143961d97.tar.bz2 historical-7724dcd28e4256949bc78c07a56d0df143961d97.zip |
gcc-4.3.x compile fix added; thx to Arrtu Valo on bug 255873
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.21-xen-main-r1 i686
Diffstat (limited to 'media-plugins/vdr-xxvautotimer/files')
-rw-r--r-- | media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff | 37 | ||||
-rw-r--r-- | media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff | 37 |
2 files changed, 74 insertions, 0 deletions
diff --git a/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff b/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff new file mode 100644 index 000000000000..56ba37f08a57 --- /dev/null +++ b/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_compile-warn.diff @@ -0,0 +1,37 @@ +diff -Naur xxvautotimer-0.1.2.orig/setup.h xxvautotimer-0.1.2/setup.h +--- xxvautotimer-0.1.2.orig/setup.h 2009-01-24 13:24:34.245788686 +0100 ++++ xxvautotimer-0.1.2/setup.h 2009-01-24 13:25:52.750838304 +0100 +@@ -22,19 +22,19 @@ + class cXxvAutotimerSetup + { + public: +- char *allowed; +- char *strHost; +- char *strTelnetPort; +- char *strDatabase; +- char *strDatabasePort; +- char *strDatabaseUser; +- char *strDatabasePasswd; +- char *strLifetime; +- char *strPriority; +- char *strPrevMinutes; +- char *strAfterMinutes; +- char *strXXV020; +- char *strDefaultDone; ++ const char *allowed; ++ const char *strHost; ++ const char *strTelnetPort; ++ const char *strDatabase; ++ const char *strDatabasePort; ++ const char *strDatabaseUser; ++ const char *strDatabasePasswd; ++ const char *strLifetime; ++ const char *strPriority; ++ const char *strPrevMinutes; ++ const char *strAfterMinutes; ++ const char *strXXV020; ++ const char *strDefaultDone; + + char host[50]; + int telnetPort; + diff --git a/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff b/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff new file mode 100644 index 000000000000..77e082bfd003 --- /dev/null +++ b/media-plugins/vdr-xxvautotimer/files/vdr-xxvautotimer-0.1.2_gcc-4.3.x.diff @@ -0,0 +1,37 @@ +http://bugs.gentoo.org/show_bug.cgi?id=255873 +diff -Naur xxvautotimer-0.1.2.orig/inifile.cpp xxvautotimer-0.1.2/inifile.cpp +--- xxvautotimer-0.1.2.orig/inifile.cpp 2009-01-24 12:55:58.165959458 +0100 ++++ xxvautotimer-0.1.2/inifile.cpp 2009-01-24 12:58:41.539432919 +0100 +@@ -43,6 +43,9 @@ + #include <stdarg.h> + #include <fstream> + #include <float.h> ++#include <cstdlib> ++#include <cstring> ++#include <climits> + + #ifdef WIN32 + #include <windows.h> +diff -Naur xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/enum_t.h xxvautotimer-0.1.2/mysqlwrapped-1.4/enum_t.h +--- xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/enum_t.h 2009-01-24 12:55:58.165959458 +0100 ++++ xxvautotimer-0.1.2/mysqlwrapped-1.4/enum_t.h 2009-01-24 12:57:48.299275050 +0100 +@@ -22,6 +22,7 @@ + + #include <string> + #include <map> ++#include <cstring> + #ifdef WIN32 + #include <config-win.h> + #include <mysql.h> +diff -Naur xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/SysLog.cpp xxvautotimer-0.1.2/mysqlwrapped-1.4/SysLog.cpp +--- xxvautotimer-0.1.2.orig/mysqlwrapped-1.4/SysLog.cpp 2009-01-24 12:55:58.165959458 +0100 ++++ xxvautotimer-0.1.2/mysqlwrapped-1.4/SysLog.cpp 2009-01-24 12:57:14.999276857 +0100 +@@ -25,6 +25,7 @@ + + #include <mysql/mysql.h> + #include <syslog.h> ++#include <cstring> + + #include "Database.h" + #include "Query.h" + |