aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-12-21 13:49:57 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-12-21 13:49:57 +0000
commite129981198f46f513604082581bfb9534bad1db0 (patch)
tree890cdb8a2e6b45918e831bb9315ba0f1cc3e1b72 /databases
parentecaf39a5350612fcd82f6dfaef7dbddd51382294 (diff)
downloadports-e129981198f46f513604082581bfb9534bad1db0.tar.gz
ports-e129981198f46f513604082581bfb9534bad1db0.zip
Fix build with gcc41
Notes
Notes: svn path=/head/; revision=180332
Diffstat (limited to 'databases')
-rw-r--r--databases/dbtool/files/patch-cipher.h17
-rw-r--r--databases/dbtool/files/patch-config.h11
2 files changed, 28 insertions, 0 deletions
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;