From 25f9a98d4ef6f3337a2a82bf83477fdbb98802de Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Fri, 20 Aug 2004 14:16:59 +0000 Subject: Fix build with gcc 3.4 --- graphics/libwpcg/files/patch-WP_Terrain.C | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/libwpcg/files/patch-WP_Terrain.C (limited to 'graphics/libwpcg') 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; -- cgit v1.2.3