aboutsummaryrefslogtreecommitdiff
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
parentecaf39a5350612fcd82f6dfaef7dbddd51382294 (diff)
downloadports-e129981198f46f513604082581bfb9534bad1db0.tar.gz
ports-e129981198f46f513604082581bfb9534bad1db0.zip
Fix build with gcc41
Notes
Notes: svn path=/head/; revision=180332
-rw-r--r--databases/dbtool/files/patch-cipher.h17
-rw-r--r--databases/dbtool/files/patch-config.h11
-rw-r--r--misc/demoniac/files/patch-libfx-glmain.h11
3 files changed, 39 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;
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);