summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-08-20 14:16:59 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-08-20 14:16:59 +0000
commit25f9a98d4ef6f3337a2a82bf83477fdbb98802de (patch)
tree4453aec37db754de4b535e4a729d47ac2c4a2e2d
parentUpdated to 1.39 (diff)
Fix build with gcc 3.4
-rw-r--r--graphics/libwpcg/files/patch-WP_Terrain.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/libwpcg/files/patch-WP_Terrain.C b/graphics/libwpcg/files/patch-WP_Terrain.C
new file mode 100644
index 000000000000..f31cefeee991
--- /dev/null
+++ b/graphics/libwpcg/files/patch-WP_Terrain.C
@@ -0,0 +1,11 @@
+--- WP_Terrain.C.orig Thu Aug 19 15:07:13 2004
++++ WP_Terrain.C Thu Aug 19 15:07:26 2004
+@@ -29,7 +29,7 @@
+ {
+ //creates a random 3D terrain
+
+- WP_Vertex **height_map = new (WP_Vertex*)[height];
++ WP_Vertex **height_map = new WP_Vertex*[height];
+ if (!height_map)
+ {
+ cerr << "Unable to allocate memory for height_map" << endl;