summaryrefslogtreecommitdiff
path: root/games/criticalmass
diff options
context:
space:
mode:
authorpeter <peter@pkgsrc.org>2005-02-15 23:10:09 +0000
committerpeter <peter@pkgsrc.org>2005-02-15 23:10:09 +0000
commitd65feb9102a588e13c680f96b99a5cf0c6418800 (patch)
treef5ac0832e21cd534a1cb91122cb0600caa427c64 /games/criticalmass
parent9f33b7f893cac150f951b8f8b91f1f766a290ba9 (diff)
downloadpkgsrc-d65feb9102a588e13c680f96b99a5cf0c6418800.tar.gz
Make this build with gcc 3.4.
Should fix PR 29381.
Diffstat (limited to 'games/criticalmass')
-rw-r--r--games/criticalmass/distinfo4
-rw-r--r--games/criticalmass/patches/patch-aa22
-rw-r--r--games/criticalmass/patches/patch-ab13
3 files changed, 38 insertions, 1 deletions
diff --git a/games/criticalmass/distinfo b/games/criticalmass/distinfo
index 890e3777fed..35727388620 100644
--- a/games/criticalmass/distinfo
+++ b/games/criticalmass/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.3 2004/11/28 20:26:35 snj Exp $
+$NetBSD: distinfo,v 1.4 2005/02/15 23:10:09 peter Exp $
SHA1 (CriticalMass-0.99.tar.bz2) = 9b339750e3de0ab06f63d4c9f10c9fc3fc7aaae6
Size (CriticalMass-0.99.tar.bz2) = 2293579 bytes
+SHA1 (patch-aa) = 21b418b711cb34c1ead6436596fa63599f625a0c
+SHA1 (patch-ab) = f1a6b77e563f3914de7aba5cd48a373db202924d
diff --git a/games/criticalmass/patches/patch-aa b/games/criticalmass/patches/patch-aa
new file mode 100644
index 00000000000..58fb0a7703e
--- /dev/null
+++ b/games/criticalmass/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2005/02/15 23:10:09 peter Exp $
+
+--- utils/HashString.hpp.orig 2003-03-03 03:32:13.000000000 +0100
++++ utils/HashString.hpp 2005-02-16 01:05:07.000000000 +0100
+@@ -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/patches/patch-ab b/games/criticalmass/patches/patch-ab
new file mode 100644
index 00000000000..bb888f80999
--- /dev/null
+++ b/games/criticalmass/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2005/02/15 23:10:09 peter Exp $
+
+--- game/Input.hpp.orig 2003-03-03 03:33:08.000000000 +0100
++++ game/Input.hpp 2005-02-16 01:06:06.000000000 +0100
+@@ -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