From bb5061c7fc5f259240b7cde208621ca5724ead00 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 7 Feb 2007 17:41:40 +0000 Subject: - Fix build with gcc4 --- graphics/rayshade/files/patch-extended.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/rayshade/files/patch-extended.c (limited to 'graphics/rayshade/files/patch-extended.c') 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; -- cgit v1.2.3