From e129981198f46f513604082581bfb9534bad1db0 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Thu, 21 Dec 2006 13:49:57 +0000 Subject: Fix build with gcc41 --- databases/dbtool/files/patch-cipher.h | 17 +++++++++++++++++ databases/dbtool/files/patch-config.h | 11 +++++++++++ misc/demoniac/files/patch-libfx-glmain.h | 11 +++++++++++ 3 files changed, 39 insertions(+) create mode 100644 databases/dbtool/files/patch-cipher.h create mode 100644 databases/dbtool/files/patch-config.h create mode 100644 misc/demoniac/files/patch-libfx-glmain.h diff --git a/databases/dbtool/files/patch-cipher.h b/databases/dbtool/files/patch-cipher.h new file mode 100644 index 000000000000..0a329367f976 --- /dev/null +++ b/databases/dbtool/files/patch-cipher.h @@ -0,0 +1,17 @@ +--- cipher.h.orig Thu Dec 21 14:26:06 2006 ++++ cipher.h Thu Dec 21 14:26:26 2006 +@@ -62,12 +62,12 @@ + MD5Digest dig; + unsigned char key[32]; + string blah; +- const char* cipher::error(int num); ++ const char* error(int num); + + public: + cipher() {}; + ~cipher() {}; +- void cipher::init(const string & phrase); ++ void init(const string & phrase); + string encrypt(const string& source); + string decrypt(const string& source); + }; diff --git a/databases/dbtool/files/patch-config.h b/databases/dbtool/files/patch-config.h new file mode 100644 index 000000000000..6ac4101664d8 --- /dev/null +++ b/databases/dbtool/files/patch-config.h @@ -0,0 +1,11 @@ +--- config.h.orig Thu Dec 21 14:30:15 2006 ++++ config.h Thu Dec 21 14:30:26 2006 +@@ -71,7 +71,7 @@ + + public: + Config(); +- void Config::args(int argc, char *argv[]); ++ void args(int argc, char *argv[]); + int parse(); + int force, command, with, reverse, readonly, encrypted; + string filename, key, value, usage, token, phrase; diff --git a/misc/demoniac/files/patch-libfx-glmain.h b/misc/demoniac/files/patch-libfx-glmain.h new file mode 100644 index 000000000000..44e4ee0d5011 --- /dev/null +++ b/misc/demoniac/files/patch-libfx-glmain.h @@ -0,0 +1,11 @@ +--- libfx/glmain.h.orig Thu Dec 21 14:42:42 2006 ++++ libfx/glmain.h Thu Dec 21 14:43:00 2006 +@@ -113,7 +113,7 @@ + ~GLMain(); + + //! kill all instances, reset application +- void GLMain::clearAll(); ++ void clearAll(); + + //! register a new effect + int registerFX(FXGeneric *fx, int fxsize); -- cgit v1.2.3