Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2020 16:23:41 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r552993 - branches/2020Q4/print/ghostscript9-base/files
Message-ID:  <202010221623.09MGNfsI099514@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Thu Oct 22 16:23:41 2020
New Revision: 552993
URL: https://svnweb.freebsd.org/changeset/ports/552993

Log:
  MFH: r552936
  
  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
  Security:	CVE-2020-15999
  
  Approved by:	ports-secteam (implicit)

Added:
  branches/2020Q4/print/ghostscript9-base/files/patch-git_41ef9a0_backport
     - copied unchanged from r552936, head/print/ghostscript9-base/files/patch-git_41ef9a0_backport
Modified:
Directory Properties:
  branches/2020Q4/   (props changed)

Copied: branches/2020Q4/print/ghostscript9-base/files/patch-git_41ef9a0_backport (from r552936, head/print/ghostscript9-base/files/patch-git_41ef9a0_backport)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q4/print/ghostscript9-base/files/patch-git_41ef9a0_backport	Thu Oct 22 16:23:41 2020	(r552993, copy of r552936, head/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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010221623.09MGNfsI099514>