1 Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
3 Initial Package Version: 9.53.3
4 Upstream Status: Applied
5 Origin: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b#patch1
6 Description: Fixes build failure with freetype-2.10.3 and later.
8 diff --git a/base/fapi_ft.c b/base/fapi_ft.c
9 index 65fa6dc..21aef2f 100644 (file)
12 @@ -125,7 +125,7 @@ static void
13 delete_inc_int_info(gs_fapi_server * a_server,
14 FT_IncrementalRec * a_inc_int_info);
16 -FT_CALLBACK_DEF(void *)
18 FF_alloc(FT_Memory memory, long size)
20 gs_memory_t *mem = (gs_memory_t *) memory->user;
21 @@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size)
22 return (gs_malloc(mem, size, 1, "FF_alloc"));
25 -FT_CALLBACK_DEF(void *)
27 FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block)
29 gs_memory_t *mem = (gs_memory_t *) memory->user;
30 @@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *)
34 -FT_CALLBACK_DEF(void)
36 FF_free(FT_Memory memory, void *block)
38 gs_memory_t *mem = (gs_memory_t *) memory->user;