summaryrefslogtreecommitdiff
path: root/graphics/rayshade/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/rayshade/patches/patch-aj')
-rw-r--r--graphics/rayshade/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/rayshade/patches/patch-aj b/graphics/rayshade/patches/patch-aj
new file mode 100644
index 00000000000..985e299f7e9
--- /dev/null
+++ b/graphics/rayshade/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2008/09/01 06:57:58 dholland Exp $
+
+--- libray/libtext/noise.c~ 1992-02-09 22:04:06.000000000 -0500
++++ libray/libtext/noise.c 2008-09-01 02:11:06.000000000 -0400
+@@ -121,7 +121,7 @@ Vector *v;
+ v->y *= .12345;
+ v->z *= .12345;
+
+- return Crc16(v, sizeof(Vector));
++ return Crc16((char *)v, sizeof(Vector));
+ }
+
+ /*