summaryrefslogtreecommitdiffstats
path: root/games/criticalmass
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-16 13:26:42 +0000
committerarved <arved@FreeBSD.org>2004-08-16 13:26:42 +0000
commit9c399cec6f15d8b5ea55207e73846442ebab94fa (patch)
tree860f5765be1c54015d91e0c35d1ab8d2f9e615df /games/criticalmass
parentea2781e2b7afe073f1ab64a5b72aa6b0364677b0 (diff)
downloadFreeBSD-ports-9c399cec6f15d8b5ea55207e73846442ebab94fa.zip
FreeBSD-ports-9c399cec6f15d8b5ea55207e73846442ebab94fa.tar.gz
Fix build with gcc 3.4
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 0000000..c969a29
--- /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 0000000..f2e01fc
--- /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
OpenPOWER on IntegriCloud