diff options
author | danfe <danfe@FreeBSD.org> | 2007-06-29 10:29:39 +0000 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-06-29 10:29:39 +0000 |
commit | ad0381224ae34a2aa25f63165c5f6920189caf1c (patch) | |
tree | 64277759e274a1fea62f38c0a273e90dc990f672 /graphics/dore | |
parent | 764fee8d984ee3e277b14e557cda7589471f561f (diff) | |
download | FreeBSD-ports-ad0381224ae34a2aa25f63165c5f6920189caf1c.zip FreeBSD-ports-ad0381224ae34a2aa25f63165c5f6920189caf1c.tar.gz |
- Fix the build with recent GCC [1]
- Clean up pkg-descr, remove obvious piece of advice
Reported by: pointyhat (logs) [1]
Diffstat (limited to 'graphics/dore')
-rw-r--r-- | graphics/dore/files/patch-examples_util_preview.c | 19 | ||||
-rw-r--r-- | graphics/dore/files/patch-examples_util_text.c | 11 | ||||
-rw-r--r-- | graphics/dore/files/patch-examples_util_transform.c | 19 | ||||
-rw-r--r-- | graphics/dore/pkg-descr | 17 |
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 0000000..e601a86 --- /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 0000000..237e495 --- /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 0000000..1559286 --- /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 fe484fa..7180419 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 |