mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
math/vtk6: fix build against freetype 2.10.4
- similar patch is applied to math/vtk8 PR: 250375
This commit is contained in:
parent
9a29bd5028
commit
3dd7c9b214
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553411
@ -0,0 +1,11 @@
|
||||
--- Rendering/FreeType/vtkFreeTypeTools.cxx.orig 2020-10-26 19:28:43 UTC
|
||||
+++ Rendering/FreeType/vtkFreeTypeTools.cxx
|
||||
@@ -280,7 +280,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,
|
@ -0,0 +1,11 @@
|
||||
--- Rendering/FreeType/vtkFreeTypeUtilities.cxx.orig 2020-10-26 19:35:51 UTC
|
||||
+++ Rendering/FreeType/vtkFreeTypeUtilities.cxx
|
||||
@@ -325,7 +325,7 @@ void vtkFreeTypeUtilities::MapIdToTextProperty(unsigne
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
#ifdef VTK_FREETYPE_CACHING_SUPPORTED
|
||||
-FT_CALLBACK_DEF(FT_Error)
|
||||
+static FT_Error
|
||||
vtkFreeTypeUtilitiesFaceRequester(FTC_FaceID face_id,
|
||||
FT_Library lib,
|
||||
FT_Pointer request_data,
|
Loading…
Reference in New Issue
Block a user