aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-20 22:16:59 +0800
committerarved <arved@FreeBSD.org>2004-08-20 22:16:59 +0800
commit72ec010b432d9db6d457cd0b821e9ef8d9731278 (patch)
tree9f18c2f1172b79f0ce095c4a8d58f4948b517a45
parent4a71fc2657171872865dd032cdd52a61e958b2e5 (diff)
downloadfreebsd-ports-gnome-72ec010b432d9db6d457cd0b821e9ef8d9731278.tar.gz
freebsd-ports-gnome-72ec010b432d9db6d457cd0b821e9ef8d9731278.tar.zst
freebsd-ports-gnome-72ec010b432d9db6d457cd0b821e9ef8d9731278.zip
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;