aboutsummaryrefslogtreecommitdiff
path: root/games/criticalmass
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-08-16 13:26:42 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-08-16 13:26:42 +0000
commitf5da8821f26667d2daf613ff6f032dade9bfdcf7 (patch)
tree6c90d8df2bff584f5f5d248aa0df1715a6b9bd4d /games/criticalmass
parentcbdfc6e1353e9ae22e069d8e1e868ddb775acd59 (diff)
downloadports-f5da8821f26667d2daf613ff6f032dade9bfdcf7.tar.gz
ports-f5da8821f26667d2daf613ff6f032dade9bfdcf7.zip
Fix build with gcc 3.4
Notes
Notes: svn path=/head/; revision=116402
Diffstat (limited to 'games/criticalmass')
-rw-r--r--games/criticalmass/files/patch-HashString.hpp20
-rw-r--r--games/criticalmass/files/patch-Input.hpp11
2 files changed, 31 insertions, 0 deletions
diff --git a/games/criticalmass/files/patch-HashString.hpp b/games/criticalmass/files/patch-HashString.hpp
new file mode 100644
index 000000000000..c969a29da334
--- /dev/null
+++ b/games/criticalmass/files/patch-HashString.hpp
@@ -0,0 +1,20 @@
+--- utils/HashString.hpp.orig Mon Aug 16 15:01:21 2004
++++ utils/HashString.hpp Mon Aug 16 15:02:23 2004
+@@ -21,7 +21,7 @@
+
+ namespace HASH_NAMESPACE
+ {
+- struct hash<const string>
++ template <> struct hash<const string>
+ {
+ //a simple hash function for string
+ int operator()(const string & s) const
+@@ -32,7 +32,7 @@
+ }
+ };
+
+- struct hash<string>
++ template <> struct hash<string>
+ {
+ //a simple hash function for string
+ int operator()(string s) const
diff --git a/games/criticalmass/files/patch-Input.hpp b/games/criticalmass/files/patch-Input.hpp
new file mode 100644
index 000000000000..f2e01fc86312
--- /dev/null
+++ b/games/criticalmass/files/patch-Input.hpp
@@ -0,0 +1,11 @@
+--- game/Input.hpp.orig Mon Aug 16 15:03:38 2004
++++ game/Input.hpp Mon Aug 16 15:04:07 2004
+@@ -28,7 +28,7 @@
+
+ namespace HASH_NAMESPACE
+ {
+- struct hash<Trigger>
++ template <> struct hash<Trigger>
+ {
+ //a simple hash function for Trigger
+ int operator()(const Trigger &t) const