aboutsummaryrefslogtreecommitdiffstats
path: root/games/bombermaze
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-23 03:41:04 +0800
committerkrion <krion@FreeBSD.org>2004-08-23 03:41:04 +0800
commit90a1953d05060a04f360bd63ffb87af1e0531388 (patch)
tree6dd5649e32cc96d6e55256511b06173ceb91acf6 /games/bombermaze
parent168fed9536857af69bf66bd68cbfa2c6957ec515 (diff)
downloadfreebsd-ports-gnome-90a1953d05060a04f360bd63ffb87af1e0531388.tar.gz
freebsd-ports-gnome-90a1953d05060a04f360bd63ffb87af1e0531388.tar.zst
freebsd-ports-gnome-90a1953d05060a04f360bd63ffb87af1e0531388.zip
Fix build with gcc-3.4
Diffstat (limited to 'games/bombermaze')
-rw-r--r--games/bombermaze/files/patch-src_map.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/bombermaze/files/patch-src_map.cc b/games/bombermaze/files/patch-src_map.cc
new file mode 100644
index 000000000000..0e5e66185352
--- /dev/null
+++ b/games/bombermaze/files/patch-src_map.cc
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/map.cc.orig Sun Feb 25 08:50:07 2001
++++ src/map.cc Sun Aug 22 21:25:12 2004
+@@ -1587,7 +1587,7 @@
+ width = w;
+ height = h;
+
+- map = new (char *)[width];
++ map = new char * [width];
+
+ unsigned i;
+ for (i = 0; i < width; i++)
+@@ -1728,7 +1728,7 @@
+
+ void GameMap::allocate_map(MapSquare ***m)
+ {
+- *m = new (MapSquare *)[width];
++ *m = new MapSquare * [width];
+ int i;
+ for (i = 0; i < width; i++)
+ {