diff options
Diffstat (limited to 'user/gnu-ghostscript/ft-callback-def.patch')
-rw-r--r-- | user/gnu-ghostscript/ft-callback-def.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/user/gnu-ghostscript/ft-callback-def.patch b/user/gnu-ghostscript/ft-callback-def.patch new file mode 100644 index 000000000..0bec225c9 --- /dev/null +++ b/user/gnu-ghostscript/ft-callback-def.patch @@ -0,0 +1,19 @@ +https://gitlab.kitware.com/vtk/vtk/-/issues/18033 + +diff -ur a/base/fapi_ft.c b/base/fapi_ft.c +--- a/base/fapi_ft.c 2022-02-05 02:01:29.370000000 +0000 ++++ b/base/fapi_ft.c 2022-02-05 02:03:31.520000000 +0000 +@@ -1,3 +1,13 @@ ++/* FT_CALLBACK_DEF no longer exported since freetype-2.10.3 */ ++/* has been moved to <freetype/internal/compiler-macros.h> */ ++# ifndef FT_CALLBACK_DEF ++# ifdef __cplusplus ++# define FT_CALLBACK_DEF( x ) extern "C" x ++# else ++# define FT_CALLBACK_DEF( x ) static x ++# endif ++# endif /* FT_CALLBACK_DEF */ ++ + /* Copyright (C) 2001-2012 Artifex Software, Inc. + All Rights Reserved. + |