summaryrefslogtreecommitdiff
path: root/graphics/rayshade/files/patch-extended.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-extended.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-extended.c')
-rw-r--r--graphics/rayshade/files/patch-extended.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/rayshade/files/patch-extended.c b/graphics/rayshade/files/patch-extended.c
new file mode 100644
index 000000000000..a5ac830b592a
--- /dev/null
+++ b/graphics/rayshade/files/patch-extended.c
@@ -0,0 +1,11 @@
+--- libray/liblight/extended.c.orig Mon Feb 10 04:03:43 1992
++++ libray/liblight/extended.c Wed Feb 7 18:34:20 2007
+@@ -54,7 +54,7 @@
+ /*
+ * Compute intensity ('color') of extended light source 'lp' from 'pos'.
+ */
+-static int
++int
+ ExtendedIntens(lp, lcolor, cache, ray, dist, noshadow, color)
+ Extended *lp;
+ Color *lcolor, *color;