summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 12:40:11 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 12:40:11 +0800
commitf67b67cf12dcd39782e07ff42cebb18731b19329 (patch)
tree002047521840b6beb96f5a82f0c69c1d124cf3ce
parent83d8843be5a80f7b15ea3d26d4cd52eba5723f8a (diff)
downloadmarcuscom-ports-f67b67cf12dcd39782e07ff42cebb18731b19329.tar.gz
marcuscom-ports-f67b67cf12dcd39782e07ff42cebb18731b19329.tar.zst
marcuscom-ports-f67b67cf12dcd39782e07ff42cebb18731b19329.zip
Fix the build with new freetype, took from Debian's
030_freetype_prototypes.diff. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7458 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--www/openvrml/files/patch-030_freetype_prototypes50
1 files changed, 50 insertions, 0 deletions
diff --git a/www/openvrml/files/patch-030_freetype_prototypes b/www/openvrml/files/patch-030_freetype_prototypes
new file mode 100644
index 000000000..5f6dc6700
--- /dev/null
+++ b/www/openvrml/files/patch-030_freetype_prototypes
@@ -0,0 +1,50 @@
+Index: openvrml-0.15.10/src/libopenvrml/openvrml/vrml97node.cpp
+===================================================================
+--- src/libopenvrml/openvrml/vrml97node.cpp.orig 2006-06-11 14:23:00.000000000 +0200
++++ src/libopenvrml/openvrml/vrml97node.cpp 2006-06-11 15:12:02.000000000 +0200
+@@ -16604,7 +16604,7 @@
+
+ const float stepSize_ = 0.2;
+
+- int moveTo_(FT_Vector * const to, void * const user) throw ()
++ int moveTo_(const FT_Vector * to, void * user)
+ {
+ using std::vector;
+ assert(user);
+@@ -16620,7 +16620,7 @@
+ return 0;
+ }
+
+- int lineTo_(FT_Vector * const to, void * const user) throw ()
++ int lineTo_(const FT_Vector * to, void * user)
+ {
+ assert(user);
+ GlyphContours_ & c = *static_cast<GlyphContours_ *>(user);
+@@ -16682,10 +16682,9 @@
+ }
+ }
+
+- int conicTo_(FT_Vector * const control,
+- FT_Vector * const to,
++ int conicTo_(const FT_Vector * control,
++ const FT_Vector * to,
+ void * const user)
+- throw ()
+ {
+ using std::vector;
+
+@@ -16716,11 +16715,10 @@
+ return 0;
+ }
+
+- int cubicTo_(FT_Vector * const control1,
+- FT_Vector * const control2,
+- FT_Vector * const to,
++ int cubicTo_(const FT_Vector * control1,
++ const FT_Vector * control2,
++ const FT_Vector * to,
+ void * const user)
+- throw ()
+ {
+ using std::vector;
+