Skip to content

Remove FT_CALLBACK_DEF macro from FreeTypeConfig

  • This is to provide compatibility with freetype-2.10.4 where FT_CALLBACK_DEF is kept as internal for the freetype library. freetype 2.10.4 seems to be affected by a security vulnerabilty (update to 2.10.4 is recommended) (ttps://security.gentoo.org/glsa/202010-07).

  • This removal does not have any effect for freetype < 2.10.4, which is the one currently used by vtk.

For reference FT_CALLBACK_DEF is defined in compiler-macros.h (freetype library):

#ifdef __cplusplus
#define FT_CALLBACK_DEF( x )  extern "C"  x
#else
#define FT_CALLBACK_DEF( x )  static  x
#endif

Merge request reports