aboutsummaryrefslogtreecommitdiff
path: root/graphics/rayshade
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
parentef6fb9b17e9533274e39e9cc10b06b143f03efd7 (diff)
downloadports-bb5061c7fc5f259240b7cde208621ca5724ead00.tar.gz
ports-bb5061c7fc5f259240b7cde208621ca5724ead00.zip
Notes
Diffstat (limited to 'graphics/rayshade')
-rw-r--r--graphics/rayshade/files/patch-extended.c11
-rw-r--r--graphics/rayshade/files/patch-fog.c10
-rw-r--r--graphics/rayshade/files/patch-fogdeck.c10
-rw-r--r--graphics/rayshade/files/patch-hf.c11
4 files changed, 42 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;
diff --git a/graphics/rayshade/files/patch-fog.c b/graphics/rayshade/files/patch-fog.c
new file mode 100644
index 000000000000..cdcd084a8b5d
--- /dev/null
+++ b/graphics/rayshade/files/patch-fog.c
@@ -0,0 +1,10 @@
+--- libray/libsurf/fog.c.orig Mon Feb 10 04:03:33 1992
++++ libray/libsurf/fog.c Wed Feb 7 18:36:49 2007
+@@ -28,7 +28,6 @@
+ Color *color, *trans;
+ {
+ Fog *fog;
+- static void ComputeFog();
+
+ fog = (Fog *)Malloc(sizeof(Fog));
+
diff --git a/graphics/rayshade/files/patch-fogdeck.c b/graphics/rayshade/files/patch-fogdeck.c
new file mode 100644
index 000000000000..58a165b40e25
--- /dev/null
+++ b/graphics/rayshade/files/patch-fogdeck.c
@@ -0,0 +1,10 @@
+--- libray/libsurf/fogdeck.c.orig Mon Feb 10 04:03:45 1992
++++ libray/libsurf/fogdeck.c Wed Feb 7 18:37:51 2007
+@@ -31,7 +31,6 @@
+ Color *color, *trans;
+ {
+ Fogdeck *fogdeck;
+- static void ComputeFogdeck();
+
+ fogdeck = (Fogdeck *)Malloc(sizeof(Fogdeck));
+
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;
+