diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-06-26 02:57:06 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-06-26 02:57:20 +0000 |
commit | 6f8b0937d3f625ffa86c6ff2eef82ae49c2bade8 (patch) | |
tree | db6c6dd4c1c165936df9a10522678b2f0887e9af /user/gnu-ghostscript/locksafe.patch | |
parent | a3ac58e2337ba72a1d4206f82d48be6af11f1650 (diff) | |
download | packages-6f8b0937d3f625ffa86c6ff2eef82ae49c2bade8.tar.gz packages-6f8b0937d3f625ffa86c6ff2eef82ae49c2bade8.tar.bz2 packages-6f8b0937d3f625ffa86c6ff2eef82ae49c2bade8.tar.xz packages-6f8b0937d3f625ffa86c6ff2eef82ae49c2bade8.zip |
user/gnu-ghostscript: fix locksafe error
Diffstat (limited to 'user/gnu-ghostscript/locksafe.patch')
-rw-r--r-- | user/gnu-ghostscript/locksafe.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/gnu-ghostscript/locksafe.patch b/user/gnu-ghostscript/locksafe.patch new file mode 100644 index 000000000..d5df6948d --- /dev/null +++ b/user/gnu-ghostscript/locksafe.patch @@ -0,0 +1,14 @@ +Bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840691 +Symptom: 'invalidaccess -7' opening PostScript files in Evince, Okular, etc + +--- gnu-ghostscript-9.14.1/Resource/Init/gs_init.ps.old 2016-11-06 17:40:19.000000000 +0000 ++++ gnu-ghostscript-9.14.1/Resource/Init/gs_init.ps 2019-06-26 02:22:56.825331976 +0000 +@@ -2018,7 +2018,7 @@ + + /.locksafe { + .locksafe_userparams +- systemdict /getenv {pop //false} put ++ systemdict /getenv {pop //false} .forceput + % setpagedevice has the side effect of clearing the page, but + % we will just document that. Using setpagedevice keeps the device + % properties and pagedevice .LockSafetyParams in agreement even |