View | Details | Raw Unified | Return to bug 227761 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	ghostscript
3
PORTNAME=	ghostscript
4
PORTVERSION=	9.23
4
PORTVERSION=	9.23
5
PORTREVISION=	1
5
PORTREVISION=	2
6
CATEGORIES=	print
6
CATEGORIES=	print
7
MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
7
MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
8
PKGNAMESUFFIX=	9-agpl-base
8
PKGNAMESUFFIX=	9-agpl-base
Lines 22-28 Link Here
22
		libtiff.so:graphics/tiff
22
		libtiff.so:graphics/tiff
23
RUN_DEPENDS=	poppler-data>=0.4.9:graphics/poppler-data
23
RUN_DEPENDS=	poppler-data>=0.4.9:graphics/poppler-data
24
24
25
CONFLICTS_INSTALL= \
25
CONFLICTS_INSTALL=	\
26
		ghostscript[789]-[0-9]* \
26
		ghostscript[789]-[0-9]* \
27
		ghostscript[789]-nox11-[0-9]* \
27
		ghostscript[789]-nox11-[0-9]* \
28
		ghostscript9-agpl-[0-9]* \
28
		ghostscript9-agpl-[0-9]* \
(-)files/patch-psi_zfapi.c (+14 lines)
Line 0 Link Here
1
# zfapi.c: another case of is_glyph_index set wrongly
2
# http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8ec5c5ded5fc19cabd95dad385b22a506e59acaf
3
4
--- psi/zfapi.c.orig	2018-03-21 08:48:06 UTC
5
+++ psi/zfapi.c
6
@@ -2069,7 +2069,7 @@ ps_get_glyphname_or_cid(gs_text_enum_t *
7
                     Map = &CIDMap->value.bytes[c_code * gdb];
8
                 }
9
                 cr->char_codes[0] = 0;
10
-
11
+                is_glyph_index = true;
12
                 if (code >= 0) {
13
                     for (i = 0; i < gdb; i++) {
14
                         cr->char_codes[0] = (cr->char_codes[0] << 8) + Map[i];

Return to bug 227761