zap compat patch that's no longer necessary after the ghostscript update

This commit is contained in:
espie 2022-02-03 20:39:25 +00:00
parent 5113b71a0a
commit 7ec0500b99
2 changed files with 2 additions and 17 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.149 2022/01/31 13:16:57 sthen Exp $
# $OpenBSD: Makefile,v 1.150 2022/02/03 20:39:25 espie Exp $
COMMENT= GNU Image Manipulation Program
DISTNAME = gimp-2.10.30
REVISION = 0
.for i in gimp gimpbase gimpcolor gimpconfig gimpmath gimpmodule \
gimpthumb gimpui gimpwidgets

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-plug-ins_common_file-ps_c,v 1.1 2021/10/06 07:37:02 espie Exp $
see comment, remove when ghostscript gets updated
Index: plug-ins/common/file-ps.c
--- plug-ins/common/file-ps.c.orig
+++ plug-ins/common/file-ps.c
@@ -1765,7 +1765,8 @@ ps_open (const gchar *filename,
code = gsapi_new_instance (&instance, NULL);
if (code == 0) {
- code = gsapi_set_arg_encoding(instance, GS_ARG_ENCODING_UTF8);
+ //requires a ghostscript update !
+ //code = gsapi_set_arg_encoding(instance, GS_ARG_ENCODING_UTF8);
code = gsapi_init_with_args (instance, cmdA->len - 1, pcmdA);
code = gsapi_exit (instance);
gsapi_delete_instance (instance);