summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-agpl/Makefile.common4
-rw-r--r--print/ghostscript-agpl/distinfo11
-rw-r--r--print/ghostscript-agpl/patches/patch-base_fapi__ft.c33
3 files changed, 41 insertions, 7 deletions
diff --git a/print/ghostscript-agpl/Makefile.common b/print/ghostscript-agpl/Makefile.common
index fdf01ebee5b..d46bf168f40 100644
--- a/print/ghostscript-agpl/Makefile.common
+++ b/print/ghostscript-agpl/Makefile.common
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.22 2020/09/29 14:29:42 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.23 2020/10/21 08:28:06 adam Exp $
# used by print/ghostscript-agpl/Makefile
# used by fonts/ghostscript-cidfonts-ryumin/Makefile
-GS_VERSION= 9.53.2
+GS_VERSION= 9.53.3
diff --git a/print/ghostscript-agpl/distinfo b/print/ghostscript-agpl/distinfo
index bdf9a9e6c3b..a6f652a4cac 100644
--- a/print/ghostscript-agpl/distinfo
+++ b/print/ghostscript-agpl/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.33 2020/09/29 14:29:42 ryoon Exp $
+$NetBSD: distinfo,v 1.34 2020/10/21 08:28:06 adam Exp $
-SHA1 (ghostscript-9.53.2.tar.xz) = a40cbe16ce6382ba1950b25b8053697e9510f1d5
-RMD160 (ghostscript-9.53.2.tar.xz) = 53d44ec49a996791a3cef1bc6587fe7bb1f5c6ee
-SHA512 (ghostscript-9.53.2.tar.xz) = fe430e96b67a082b58942d66193a89b8af042574929e8299e1f8b1ef2a7f71565ba5a96b72d26db38f4a05e70119a019c5fe73b842d51afd357d642d39d95320
-Size (ghostscript-9.53.2.tar.xz) = 41362364 bytes
+SHA1 (ghostscript-9.53.3.tar.xz) = 0b02d35279f3c475dcba50b0ec4b0c6997539dfb
+RMD160 (ghostscript-9.53.3.tar.xz) = 1ba3059c53bafc2de50df92d59b8cf875c2e02f5
+SHA512 (ghostscript-9.53.3.tar.xz) = eb832c27eecd30f15e346408c592d7096fd23ef0a6fa59bd50ca327578915434530a4868e69249c2594def0910c527302e99d54f0877f726a8ca8bea6f0f17b7
+Size (ghostscript-9.53.3.tar.xz) = 41368160 bytes
+SHA1 (patch-base_fapi__ft.c) = a8312cd851fdfb8520e76db2f3193b1d7b58afa0
SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
diff --git a/print/ghostscript-agpl/patches/patch-base_fapi__ft.c b/print/ghostscript-agpl/patches/patch-base_fapi__ft.c
new file mode 100644
index 00000000000..3e750e18ef5
--- /dev/null
+++ b/print/ghostscript-agpl/patches/patch-base_fapi__ft.c
@@ -0,0 +1,33 @@
+$NetBSD: patch-base_fapi__ft.c,v 1.1 2020/10/21 08:28:06 adam Exp $
+
+Build with FreeType 2.10.3.
+
+--- base/fapi_ft.c.orig 2020-10-01 08:11:07.000000000 +0000
++++ base/fapi_ft.c
+@@ -125,7 +125,7 @@ static void
+ delete_inc_int_info(gs_fapi_server * a_server,
+ FT_IncrementalRec * a_inc_int_info);
+
+-FT_CALLBACK_DEF(void *)
++static void *
+ FF_alloc(FT_Memory memory, long size)
+ {
+ gs_memory_t *mem = (gs_memory_t *) memory->user;
+@@ -133,7 +133,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;
+@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *)
+ return (tmp);
+ }
+
+-FT_CALLBACK_DEF(void)
++static void
+ FF_free(FT_Memory memory, void *block)
+ {
+ gs_memory_t *mem = (gs_memory_t *) memory->user;