summaryrefslogtreecommitdiff
path: root/graphics/dore
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-29 10:29:39 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-29 10:29:39 +0000
commit30adfd5286f0c43957329a7f75999ec08eee7320 (patch)
tree1bd9c9d4d2275ee3c48a4c3a1c773fc2fc5375f2 /graphics/dore
parent- Document vlc - format string vulnerability and integer overflow (diff)
- Fix the build with recent GCC [1]
- Clean up pkg-descr, remove obvious piece of advice Reported by: pointyhat (logs) [1]
Notes
Notes: svn path=/head/; revision=194447
Diffstat (limited to 'graphics/dore')
-rw-r--r--graphics/dore/files/patch-examples_util_preview.c19
-rw-r--r--graphics/dore/files/patch-examples_util_text.c11
-rw-r--r--graphics/dore/files/patch-examples_util_transform.c19
-rw-r--r--graphics/dore/pkg-descr17
4 files changed, 56 insertions, 10 deletions
diff --git a/graphics/dore/files/patch-examples_util_preview.c b/graphics/dore/files/patch-examples_util_preview.c
new file mode 100644
index 000000000000..e601a865ff9d
--- /dev/null
+++ b/graphics/dore/files/patch-examples_util_preview.c
@@ -0,0 +1,19 @@
+--- examples/util/preview.c.orig Fri Jan 13 04:13:44 1995
++++ examples/util/preview.c Fri Jun 29 17:20:09 2007
+@@ -64,6 +64,8 @@
+
+
+
++static DtObject MakeNewDefinitionGroup(), MakeNewDisplayGroup();
++static MakeNewView();
+
+ void view_preview (
+ DtObject user_view,
+@@ -71,7 +73,6 @@
+ DtInt save_list[])
+ {
+ DtObject new_device, new_view, new_definition_group, new_display_group;
+- DtObject MakeNewDefinitionGroup(), MakeNewDisplayGroup();
+
+ MakeNewView(&new_device, &new_view);
+ new_definition_group = MakeNewDefinitionGroup();
diff --git a/graphics/dore/files/patch-examples_util_text.c b/graphics/dore/files/patch-examples_util_text.c
new file mode 100644
index 000000000000..237e4952a6ae
--- /dev/null
+++ b/graphics/dore/files/patch-examples_util_text.c
@@ -0,0 +1,11 @@
+--- examples/util/text.c.orig Fri Jan 13 04:13:46 1995
++++ examples/util/text.c Fri Jun 29 17:15:09 2007
+@@ -56,6 +56,8 @@
+ words, the string "H ,(2) O" will give the same results as "H,(2)O".
+ */
+
++static int gettok();
++
+ DtObject subscript (
+ char *str)
+ {
diff --git a/graphics/dore/files/patch-examples_util_transform.c b/graphics/dore/files/patch-examples_util_transform.c
new file mode 100644
index 000000000000..1559286de9d7
--- /dev/null
+++ b/graphics/dore/files/patch-examples_util_transform.c
@@ -0,0 +1,19 @@
+--- examples/util/transform.c.orig Fri Jun 29 17:19:27 2007
++++ examples/util/transform.c Fri Jun 29 17:18:15 2007
+@@ -47,10 +47,12 @@
+ static DtInt transcount=0, arraysize=0;
+
+ /* prototypes for static functions */
+-transform_matrix (DtMatrix4x4, DtInt, DtReal, DtCompType);
+-translate (DtMatrix4x4, int, DtReal, DtCompType);
+-scale(DtMatrix4x4, int, DtReal, DtCompType);
+-rotate(DtMatrix4x4, int, int, DtReal, DtCompType);
++static transform_matrix (DtMatrix4x4, DtInt, DtReal, DtCompType);
++static translate (DtMatrix4x4, int, DtReal, DtCompType);
++static scale(DtMatrix4x4, int, DtReal, DtCompType);
++static rotate(DtMatrix4x4, int, int, DtReal, DtCompType);
++static load_identity(DtMatrix4x4);
++static load_matrix(DtMatrix4x4, DtMatrix4x4);
+
+
+ /*
diff --git a/graphics/dore/pkg-descr b/graphics/dore/pkg-descr
index fe484fa80e25..7180419a2881 100644
--- a/graphics/dore/pkg-descr
+++ b/graphics/dore/pkg-descr
@@ -1,13 +1,10 @@
Dore is a powerful three-dimensional graphics library that includes such
features as:
- - a choice of rendering styles, from dynamic to photorealistic
- - advanced graphics features including shadows, transparency
- and reflections
- - ease of use
- - extendability
- - portability, platform independence
- - X11 Window support
-
-See the Docs subdirectory of the unpacked port (make extract; cd work) for
-more information.
+ - A choice of rendering styles, from dynamic to photorealistic
+ - Advanced graphics features including shadows, transparency,
+ and reflections
+ - Ease of use
+ - Extendibility
+ - Portability, platform independence
+ - X11 Window support