From owner-svn-ports-branches@freebsd.org Thu Oct 22 16:23:42 2020 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35D5244C9CA; Thu, 22 Oct 2020 16:23:42 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CHCNG0jybz45b4; Thu, 22 Oct 2020 16:23:42 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EFD7719753; Thu, 22 Oct 2020 16:23:41 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09MGNfFb099515; Thu, 22 Oct 2020 16:23:41 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09MGNfsI099514; Thu, 22 Oct 2020 16:23:41 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <202010221623.09MGNfsI099514@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Thu, 22 Oct 2020 16:23:41 +0000 (UTC) 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 X-SVN-Group: ports-branches X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: branches/2020Q4/print/ghostscript9-base/files X-SVN-Commit-Revision: 552993 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 16:23:42 -0000 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;