summaryrefslogtreecommitdiff
path: root/graphics/rayshade/files/patch-hf.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-02-07 17:41:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-02-07 17:41:40 +0000
commitbb5061c7fc5f259240b7cde208621ca5724ead00 (patch)
tree6d67e1e6fe22b928b35af8559eedda45657153f7 /graphics/rayshade/files/patch-hf.c
parentRemove OpenLDAP 2.2.x. They are abandoned by developers and users (diff)
- Fix build with gcc4
Diffstat (limited to 'graphics/rayshade/files/patch-hf.c')
-rw-r--r--graphics/rayshade/files/patch-hf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/rayshade/files/patch-hf.c b/graphics/rayshade/files/patch-hf.c
new file mode 100644
index 000000000000..eb64a4c8626e
--- /dev/null
+++ b/graphics/rayshade/files/patch-hf.c
@@ -0,0 +1,11 @@
+--- libray/libobj/hf.c.orig Mon Feb 10 04:04:18 1992
++++ libray/libobj/hf.c Wed Feb 7 18:27:10 2007
+@@ -42,7 +42,7 @@
+ Vector cp, pDX, pDY;
+ } Trav2D;
+
+-hfTri *CreateHfTriangle(), *GetQueuedTri();
++static hfTri *CreateHfTriangle(), *GetQueuedTri();
+
+ unsigned long HFTests, HFHits;
+