diff options
author | Joseph Jezak <josejx@gentoo.org> | 2004-11-01 11:29:12 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2004-11-01 11:29:12 +0000 |
commit | 10c0e4293c34256ba6dd1654e9887ac8effd3343 (patch) | |
tree | 1654501559a328673c8f805d637ec7307ea043db /games-arcade/criticalmass/files | |
parent | Stable on x86. Added to ~alpha and ~ppc-macos. (Manifest recommit) (diff) | |
download | gentoo-2-10c0e4293c34256ba6dd1654e9887ac8effd3343.tar.gz gentoo-2-10c0e4293c34256ba6dd1654e9887ac8effd3343.tar.bz2 gentoo-2-10c0e4293c34256ba6dd1654e9887ac8effd3343.zip |
Fixes for GCC 3.4 and marked ~ppc.
Diffstat (limited to 'games-arcade/criticalmass/files')
-rw-r--r-- | games-arcade/criticalmass/files/criticalmass-0.99-gcc-3.4.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games-arcade/criticalmass/files/criticalmass-0.99-gcc-3.4.patch b/games-arcade/criticalmass/files/criticalmass-0.99-gcc-3.4.patch new file mode 100644 index 000000000000..196e9dcf818b --- /dev/null +++ b/games-arcade/criticalmass/files/criticalmass-0.99-gcc-3.4.patch @@ -0,0 +1,31 @@ +--- game/Input.hpp.old 2004-11-01 11:13:11.232726960 +0000 ++++ game/Input.hpp 2004-11-01 11:13:24.057777256 +0000 +@@ -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 +--- utils/HashString.hpp.old 2004-11-01 11:06:50.815559160 +0000 ++++ utils/HashString.hpp 2004-11-01 11:07:13.640089304 +0000 +@@ -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 |