From owner-svn-ports-head@freebsd.org Thu Oct 22 06:10:12 2020 Return-Path: Delivered-To: svn-ports-head@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 648AF43F545; Thu, 22 Oct 2020 06:10:12 +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 4CGxmN25x3z4Q6R; Thu, 22 Oct 2020 06:10:12 +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 2CADC1242E; Thu, 22 Oct 2020 06:10:12 +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 09M6ACsd015572; Thu, 22 Oct 2020 06:10:12 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09M6ACKj015571; Thu, 22 Oct 2020 06:10:12 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <202010220610.09M6ACKj015571@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 06:10:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552936 - head/print/ghostscript9-base/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/print/ghostscript9-base/files X-SVN-Commit-Revision: 552936 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 06:10:12 -0000 Author: tcberner Date: Thu Oct 22 06:10:11 2020 New Revision: 552936 URL: https://svnweb.freebsd.org/changeset/ports/552936 Log: 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 Added: head/print/ghostscript9-base/files/patch-git_41ef9a0_backport (contents, props changed) Added: head/print/ghostscript9-base/files/patch-git_41ef9a0_backport ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/ghostscript9-base/files/patch-git_41ef9a0_backport Thu Oct 22 06:10:11 2020 (r552936) @@ -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;