summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-10-22 06:10:11 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-10-22 06:10:11 +0000
commit9f52444999d308082c4d0629895b6db3ea8c952c (patch)
treeb4bae41c861d18bd2fd7071fef06ae18e4ebec47 /print/ghostscript9-base
parentaudio/mixertui: Update to 1.3 (diff)
print/ghostscript9-base: prepare for freetype2 update
- Backport of the same patch applied to print/ghostscript9-agpl-base PR: 250375 Obtained from: https://www.openwall.com/lists/oss-security/2020/10/20/7 MFH: 2020Q4 Security: CVE-2020-15999
Notes
Notes: svn path=/head/; revision=552936
Diffstat (limited to 'print/ghostscript9-base')
-rw-r--r--print/ghostscript9-base/files/patch-git_41ef9a0_backport29
1 files changed, 29 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/patch-git_41ef9a0_backport b/print/ghostscript9-base/files/patch-git_41ef9a0_backport
new file mode 100644
index 000000000000..793f5c72cb4c
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-git_41ef9a0_backport
@@ -0,0 +1,29 @@
+--- psi/fapi_ft.c.orig 2020-10-22 05:57:46 UTC
++++ psi/fapi_ft.c
+@@ -102,7 +102,7 @@ typedef struct FT_IncrementalRec_
+ FAPI_metrics_type metrics_type; /* determines whether metrics are replaced, added, etc. */
+ } FT_IncrementalRec;
+
+-FT_CALLBACK_DEF( void* )
++static void*
+ FF_alloc( FT_Memory memory, long size)
+ {
+ gs_memory_t *mem = (gs_memory_t *)memory->user;
+@@ -110,7 +110,7 @@ FF_alloc( FT_Memory memory, long size)
+ return(gs_malloc (mem, size, 1, "FF_alloc"));
+ }
+
+-FT_CALLBACK_DEF( void* )
++static void*
+ FF_realloc(FT_Memory memory, long cur_size, long new_size, void* block)
+ {
+ gs_memory_t *mem = (gs_memory_t *)memory->user;
+@@ -130,7 +130,7 @@ FF_realloc(FT_Memory memory, long cur_size, long new_s
+ return(tmp);
+ }
+
+-FT_CALLBACK_DEF( void )
++static void
+ FF_free(FT_Memory memory, void* block)
+ {
+ gs_memory_t *mem = (gs_memory_t *)memory->user;