diff options
author | arved <arved@FreeBSD.org> | 2004-08-16 21:26:42 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-08-16 21:26:42 +0800 |
commit | 9c399cec6f15d8b5ea55207e73846442ebab94fa (patch) | |
tree | 860f5765be1c54015d91e0c35d1ab8d2f9e615df /games | |
parent | ea2781e2b7afe073f1ab64a5b72aa6b0364677b0 (diff) | |
download | freebsd-ports-gnome-9c399cec6f15d8b5ea55207e73846442ebab94fa.tar.gz freebsd-ports-gnome-9c399cec6f15d8b5ea55207e73846442ebab94fa.tar.zst freebsd-ports-gnome-9c399cec6f15d8b5ea55207e73846442ebab94fa.zip |
Fix build with gcc 3.4
Diffstat (limited to 'games')
-rw-r--r-- | games/criticalmass/files/patch-HashString.hpp | 20 | ||||
-rw-r--r-- | games/criticalmass/files/patch-Input.hpp | 11 |
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 |