aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/shaaft/files/patch-HashString.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/shaaft/files/patch-HashString.h b/games/shaaft/files/patch-HashString.h
new file mode 100644
index 000000000000..532ace0118a4
--- /dev/null
+++ b/games/shaaft/files/patch-HashString.h
@@ -0,0 +1,20 @@
+--- utils/HashString.hpp.orig Tue Aug 17 16:17:33 2004
++++ utils/HashString.hpp Tue Aug 17 16:18:12 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