<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3a5823bd5f03e75bf7b8e324030aa83217862747">https://github.com/macports/macports-ports/commit/3a5823bd5f03e75bf7b8e324030aa83217862747</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 3a5823b ghostscript: fix regression from 9.24
</span>3a5823b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3a5823bd5f03e75bf7b8e324030aa83217862747
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Fri Sep 7 15:16:25 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> ghostscript: fix regression from 9.24
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/57100
</span>---
print/ghostscript/Portfile | 6 ++-
.../files/patch-upstream-13418541a5ae.diff | 54 ++++++++++++++++++++++
.../files/patch-upstream-c8c01f8c4164.diff | 42 +++++++++++++++++
3 files changed, 101 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/Portfile b/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 58884e5..194ea3e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,6 +5,7 @@ PortGroup muniversal 1.0
</span>
name ghostscript
version 9.24
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories print
license AGPL-3 BSD
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +28,10 @@ distfiles ${distname}.tar.gz:source \
</span> ghostscript-fonts-std-8.11.tar.gz:fonts \
${mappingresources_commit}.zip:misc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-base_unix-dll.mak.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-base_unix-dll.mak.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-upstream-c8c01f8c4164.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-upstream-13418541a5ae.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
checksums ${distname}.tar.gz \
rmd160 8489da8a20c11f525f7f325943ffe677926fe13a \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/files/patch-upstream-13418541a5ae.diff b/print/ghostscript/files/patch-upstream-13418541a5ae.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..337b6d9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/files/patch-upstream-13418541a5ae.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,54 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 13418541a5ae19b15f51cbb87faf344902f5af98 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Chris Liddell <chris.liddell@artifex.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 6 Sep 2018 18:40:05 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Bug 699722 (2): add wildcards to the permissions paths.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The temp and ICC profile paths need to finish with wildcards to work correctly.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Resource/Init/gs_init.ps | 10 +++++-----
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 5 insertions(+), 5 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Resource/Init/gs_init.ps b/Resource/Init/gs_init.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 83918a9..5ff9f63 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Resource/Init/gs_init.ps.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Resource/Init/gs_init.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2034,7 +2034,7 @@ readonly def
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /PermitFileReading [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ currentuserparams /PermitFileReading get aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //tempfilepaths aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [//tempfilepaths aload pop] (*) .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /FONTPATH .systemvar (*) .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ % Library files :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /LIBPATH .systemvar (*) .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2049,15 +2049,15 @@ readonly def
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ currentsystemparams /GenericResourceDir get] (*) .file_name_separator (*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ concatstrings concatstrings .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } if
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- currentuserparams /ICCProfilesDir known {currentuserparams /ICCProfilesDir get} if
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ currentuserparams /ICCProfilesDir known {[currentuserparams /ICCProfilesDir get] (*) .generate_dir_list_templates} if
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /PermitFileWriting [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ currentuserparams /PermitFileWriting get aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //tempfilepaths aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [//tempfilepaths aload pop] (*) .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /PermitFileControl [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ currentuserparams /PermitFileControl get aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- //tempfilepaths aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [//tempfilepaths aload pop] (*) .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /LockFilePermissions //true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ >> setuserparams
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2140,7 +2140,7 @@ SAFER { .setsafeglobal } if
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /.setshapealpha % transparency-example.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /.endtransparencygroup % transparency-example.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /.setdotlength % Bug687720.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /.sort /.setdebug /.mementolistnewblocks /getenv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /.sort /.mementolistnewblocks /getenv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /.makeoperator /.setCPSImode % gs_cet.ps, this won't work on cluster with -dSAFER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.9.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/files/patch-upstream-c8c01f8c4164.diff b/print/ghostscript/files/patch-upstream-c8c01f8c4164.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1d534b8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/files/patch-upstream-c8c01f8c4164.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From c8c01f8c4164bc10281d9e8f87cf96314d93104b Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Chris Liddell <chris.liddell@artifex.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 6 Sep 2018 14:08:41 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Bug 699722: Add the ICCProfilesDir to the PermitReading list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+There was also an issue that the string being returned from the graphics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+library was null terminated, and Postscript strings are not (and Ghostscript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+strings are not necessarily). We leave the null termination in place, but
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+reduce the length returned by 1.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Resource/Init/gs_init.ps | 1 +
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ base/gsicc_manage.c | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 2 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Resource/Init/gs_init.ps b/Resource/Init/gs_init.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index bc8b795..83918a9 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Resource/Init/gs_init.ps.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Resource/Init/gs_init.ps
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2049,6 +2049,7 @@ readonly def
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ currentsystemparams /GenericResourceDir get] (*) .file_name_separator (*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ concatstrings concatstrings .generate_dir_list_templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } if
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ currentuserparams /ICCProfilesDir known {currentuserparams /ICCProfilesDir get} if
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /PermitFileWriting [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ currentuserparams /PermitFileWriting get aload pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/base/gsicc_manage.c b/base/gsicc_manage.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 69f05c4..ff685e7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- base/gsicc_manage.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ base/gsicc_manage.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2972,7 +2972,7 @@ gs_currenticcdirectory(const gs_gstate * pgs, gs_param_string * pval)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pval->persistent = true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pval->data = (const byte *)(lib_ctx->profiledir);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pval->size = lib_ctx->profiledir_len;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ pval->size = lib_ctx->profiledir_len - 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pval->persistent = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.9.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>