FS#68291 - [vtk] build error since freetype2-2.10.3-1

Attached to Project: Community Packages
Opened by Christian Cornelssen (ccorn) - Friday, 16 October 2020, 23:45 GMT
Last edited by freswa (frederik) - Saturday, 17 October 2020, 01:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

freetype2-2.10.3 no longer exports FT_CALLBACK_DEF.
This breaks builds of vtk when using the system's freetype:

/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx:391:1: error: expected constructor, destructor, or type conversion before ‘vtkFreeTypeToolsFaceRequester’
391 | vtkFreeTypeToolsFaceRequester(FTC_FaceID face_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx: In member function ‘virtual FT_Error vtkFreeTypeTools::CreateFTCManager()’:
/build/vtk/src/VTK-8.2.0/Rendering/FreeType/vtkFreeTypeTools.cxx:1252:26: error: ‘vtkFreeTypeToolsFaceRequester’ was not declared in this scope; did you mean ‘vtkFreeTypeToolsCleanupCounter’?

I have reported the bug to VTK and proposed two ways of fixing that.
Any of the two patch files attached there can be used here for the time being.

https://gitlab.kitware.com/vtk/vtk/-/issues/18033
This task depends upon

Closed by  freswa (frederik)
Saturday, 17 October 2020, 01:22 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#68244 
Comment by loqs (loqs) - Saturday, 17 October 2020, 00:45 GMT
 FS#68244 

Loading...