MFH: r552990

math/vtk8: fix build against freetype 2.10.4

- similar to the patch applied to print/ghostcript9*

PR:		250375

Approved by:	ports-secteam (implicit)
This commit is contained in:
Tobias C. Berner 2020-10-22 16:24:26 +00:00
parent 6a6641bfea
commit 78c40fd148
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=552994

View File

@ -0,0 +1,11 @@
--- Rendering/FreeType/vtkFreeTypeTools.cxx.orig 2020-10-22 10:20:24 UTC
+++ Rendering/FreeType/vtkFreeTypeTools.cxx
@@ -387,7 +387,7 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMapCache()
}
//----------------------------------------------------------------------------
-FT_CALLBACK_DEF(FT_Error)
+static FT_Error
vtkFreeTypeToolsFaceRequester(FTC_FaceID face_id,
FT_Library lib,
FT_Pointer request_data,