summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-05-09 14:56:13 +0200
committerMarius Bakke <marius@gnu.org>2021-05-09 23:43:32 +0200
commit23666a9b625909fc4c44035064ba5615d3b57687 (patch)
treed144f509db9d1ff318539274cbb5fb8ade0b51e2 /gnu
parent911668ab4c60c8963c4b7d04141be5a2748a12dc (diff)
gnu: ghostscript: Update to 9.54.0.
* gnu/packages/patches/ghostscript-freetype-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/ghostscript.scm (ghostscript): Update to 9.54.0. [source](patches): Remove obsolete patch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/ghostscript.scm7
-rw-r--r--gnu/packages/patches/ghostscript-freetype-compat.patch35
3 files changed, 3 insertions, 40 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 9cc5a02587f..95f4626143d 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1083,7 +1083,6 @@ dist_patch_DATA = \
1083 %D%/packages/patches/ghc-monad-par-fix-tests.patch \ 1083 %D%/packages/patches/ghc-monad-par-fix-tests.patch \
1084 %D%/packages/patches/ghc-pandoc-fix-html-tests.patch \ 1084 %D%/packages/patches/ghc-pandoc-fix-html-tests.patch \
1085 %D%/packages/patches/ghc-pandoc-fix-latex-test.patch \ 1085 %D%/packages/patches/ghc-pandoc-fix-latex-test.patch \
1086 %D%/packages/patches/ghostscript-freetype-compat.patch \
1087 %D%/packages/patches/ghostscript-no-header-id.patch \ 1086 %D%/packages/patches/ghostscript-no-header-id.patch \
1088 %D%/packages/patches/ghostscript-no-header-uuid.patch \ 1087 %D%/packages/patches/ghostscript-no-header-uuid.patch \
1089 %D%/packages/patches/ghostscript-no-header-creationdate.patch \ 1088 %D%/packages/patches/ghostscript-no-header-creationdate.patch \
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index e3b2de37492..26a964d4d4a 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -159,7 +159,7 @@ printing, and psresize, for adjusting page sizes.")
159(define-public ghostscript 159(define-public ghostscript
160 (package 160 (package
161 (name "ghostscript") 161 (name "ghostscript")
162 (version "9.53.3") 162 (version "9.54.0")
163 (source 163 (source
164 (origin 164 (origin
165 (method url-fetch) 165 (method url-fetch)
@@ -169,9 +169,8 @@ printing, and psresize, for adjusting page sizes.")
169 "/ghostscript-" version ".tar.xz")) 169 "/ghostscript-" version ".tar.xz"))
170 (sha256 170 (sha256
171 (base32 171 (base32
172 "0d52w9ajv1rz533119ywgmkzkapp74riwny0d21v0zkcbg45p7ww")) 172 "0fvfvv6di5s6j4sy4gaw65klm23dby39bkdjxxq4w3v0vqyb9dy2"))
173 (patches (search-patches "ghostscript-freetype-compat.patch" 173 (patches (search-patches "ghostscript-no-header-creationdate.patch"
174 "ghostscript-no-header-creationdate.patch"
175 "ghostscript-no-header-id.patch" 174 "ghostscript-no-header-id.patch"
176 "ghostscript-no-header-uuid.patch")) 175 "ghostscript-no-header-uuid.patch"))
177 (modules '((guix build utils))) 176 (modules '((guix build utils)))
diff --git a/gnu/packages/patches/ghostscript-freetype-compat.patch b/gnu/packages/patches/ghostscript-freetype-compat.patch
deleted file mode 100644
index cc225b5ad64..00000000000
--- a/gnu/packages/patches/ghostscript-freetype-compat.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1Fix build with FreeType 2.10.3 and newer.
2
3Taken from upstream:
4https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b9db7115fbe9623f989bfb47bbade
5
6diff --git a/base/fapi_ft.c b/base/fapi_ft.c
7--- a/base/fapi_ft.c
8+++ b/base/fapi_ft.c
9@@ -125,7 +125,7 @@ static void
10 delete_inc_int_info(gs_fapi_server * a_server,
11 FT_IncrementalRec * a_inc_int_info);
12
13-FT_CALLBACK_DEF(void *)
14+static void *
15 FF_alloc(FT_Memory memory, long size)
16 {
17 gs_memory_t *mem = (gs_memory_t *) memory->user;
18@@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size)
19 return (gs_malloc(mem, size, 1, "FF_alloc"));
20 }
21
22-FT_CALLBACK_DEF(void *)
23+static void *
24 FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block)
25 {
26 gs_memory_t *mem = (gs_memory_t *) memory->user;
27@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *)
28 return (tmp);
29 }
30
31-FT_CALLBACK_DEF(void)
32+static void
33 FF_free(FT_Memory memory, void *block)
34 {
35 gs_memory_t *mem = (gs_memory_t *) memory->user;