svn commit: r553411 - head/math/vtk6/files

Tobias C. Berner tcberner at FreeBSD.org
Tue Oct 27 04:20:12 UTC 2020


Author: tcberner
Date: Tue Oct 27 04:20:11 2020
New Revision: 553411
URL: https://svnweb.freebsd.org/changeset/ports/553411

Log:
  math/vtk6: fix build against freetype 2.10.4
  
  - similar patch is applied to math/vtk8
  
  PR:		250375

Added:
  head/math/vtk6/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx   (contents, props changed)
  head/math/vtk6/files/patch-Rendering_FreeType_vtkFreeTypeUtilities.cxx   (contents, props changed)

Added: head/math/vtk6/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/vtk6/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx	Tue Oct 27 04:20:11 2020	(r553411)
@@ -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,

Added: head/math/vtk6/files/patch-Rendering_FreeType_vtkFreeTypeUtilities.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/vtk6/files/patch-Rendering_FreeType_vtkFreeTypeUtilities.cxx	Tue Oct 27 04:20:11 2020	(r553411)
@@ -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,


More information about the svn-ports-all mailing list