Fix build with gcc41
This commit is contained in:
parent
ecaf39a535
commit
e129981198
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180332
3 changed files with 39 additions and 0 deletions
17
databases/dbtool/files/patch-cipher.h
Normal file
17
databases/dbtool/files/patch-cipher.h
Normal file
|
@ -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);
|
||||
};
|
11
databases/dbtool/files/patch-config.h
Normal file
11
databases/dbtool/files/patch-config.h
Normal file
|
@ -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;
|
11
misc/demoniac/files/patch-libfx-glmain.h
Normal file
11
misc/demoniac/files/patch-libfx-glmain.h
Normal file
|
@ -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);
|
Loading…
Reference in a new issue