aboutsummaryrefslogtreecommitdiffstats
path: root/games/rtb
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-20 22:18:36 +0800
committermiwi <miwi@FreeBSD.org>2007-06-20 22:18:36 +0800
commitebcfb5859c73c81d1a7a085dc2c4553bc7d9c0dc (patch)
treef39d2ad1ca59892f8f432c7a888bcdbe03994d65 /games/rtb
parent336c5cdbfcc85f5969a3fa17be1720aeb84bdd8e (diff)
downloadfreebsd-ports-gnome-ebcfb5859c73c81d1a7a085dc2c4553bc7d9c0dc.tar.gz
freebsd-ports-gnome-ebcfb5859c73c81d1a7a085dc2c4553bc7d9c0dc.tar.zst
freebsd-ports-gnome-ebcfb5859c73c81d1a7a085dc2c4553bc7d9c0dc.zip
- Fix build with gcc 4.2
PR: 113771 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games/rtb')
-rw-r--r--games/rtb/files/patch-include__Vector2D.h12
-rw-r--r--games/rtb/files/patch-team-framework__parser__configurationparser.h11
2 files changed, 23 insertions, 0 deletions
diff --git a/games/rtb/files/patch-include__Vector2D.h b/games/rtb/files/patch-include__Vector2D.h
new file mode 100644
index 000000000000..931499d39b07
--- /dev/null
+++ b/games/rtb/files/patch-include__Vector2D.h
@@ -0,0 +1,12 @@
+--- include/Vector2D.h.orig Wed Mar 30 02:37:13 2005
++++ include/Vector2D.h Thu Jun 14 13:19:11 2007
+@@ -24,6 +24,9 @@
+
+ using namespace std;
+
++class Vector2D;
++Vector2D angle2vec(const double);
++
+ class Vector2D
+ {
+ public:
diff --git a/games/rtb/files/patch-team-framework__parser__configurationparser.h b/games/rtb/files/patch-team-framework__parser__configurationparser.h
new file mode 100644
index 000000000000..0e0faffcf5dc
--- /dev/null
+++ b/games/rtb/files/patch-team-framework__parser__configurationparser.h
@@ -0,0 +1,11 @@
+--- team-framework/parser/configurationparser.h.orig Fri Jan 7 02:59:28 2005
++++ team-framework/parser/configurationparser.h Thu Jun 14 13:28:41 2007
+@@ -51,7 +51,7 @@
+ * Public stuff
+ */
+ public:
+- ConfigurationParser::ConfigurationParser() throw (bad_exception);
++ ConfigurationParser() throw (bad_exception);
+ void addFile(const string& filename) throw(ParserException, bad_exception);
+ const map<string, map<string, string> >& getConfigurationData() const throw();
+ /*