summaryrefslogtreecommitdiff
path: root/user/gnu-ghostscript
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-25 22:44:04 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-25 22:44:04 -0500
commitaa34c27e05af2c52c3ecef3495b0f3c120b7ea56 (patch)
tree26a2e7aac9bdf8967797806e34d69bf7ba9f956b /user/gnu-ghostscript
parent8706bd163d1ebbfc67d43e6c5e071561cc71292f (diff)
downloadpackages-aa34c27e05af2c52c3ecef3495b0f3c120b7ea56.tar.gz
packages-aa34c27e05af2c52c3ecef3495b0f3c120b7ea56.tar.bz2
packages-aa34c27e05af2c52c3ecef3495b0f3c120b7ea56.tar.xz
packages-aa34c27e05af2c52c3ecef3495b0f3c120b7ea56.zip
user/gnu-ghostscript: oops I patched it again
Diffstat (limited to 'user/gnu-ghostscript')
-rw-r--r--user/gnu-ghostscript/APKBUILD2
-rw-r--r--user/gnu-ghostscript/locksafe.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/user/gnu-ghostscript/APKBUILD b/user/gnu-ghostscript/APKBUILD
index b526bb794..0c09a5aa9 100644
--- a/user/gnu-ghostscript/APKBUILD
+++ b/user/gnu-ghostscript/APKBUILD
@@ -46,4 +46,4 @@ package() {
sha512sums="658f6ae14b29965c7959b9bd1463760d7fb03b35251446fc37101dbe7ee2866c74a0803e22b2f4488be3221d026578be1d6be7b562ff240036134fbf83edabf9 gnu-ghostscript-9.14.1.tar.xz
1c4d79633ecece9f4de7a672f2888939be7d1e0ba24f3a66500fdfbb37e081e0f323a5efa0d1547fed51206e5a95d3b0659c0ea845d0bc333f281dfb88fcc040 do-not-use-sprintf.patch
-959e0386e4ac268298ab5e9d3936afcf38560b1d3ab49256719d72d38783feef62ceb065d35235de9f7b7bc52ab119a297e115954ea0bb4d7c00046f333141aa locksafe.patch"
+ee06c1753147bcce85e3cdc6c254ef2c75b7f1dfdc0a9bce82bc24bb8d814470ba81be5372fb4bec3a999190f53c4615226fd3dbf05969c436b480eb2ec14f37 locksafe.patch"
diff --git a/user/gnu-ghostscript/locksafe.patch b/user/gnu-ghostscript/locksafe.patch
index d5df6948d..cc4bad2b5 100644
--- a/user/gnu-ghostscript/locksafe.patch
+++ b/user/gnu-ghostscript/locksafe.patch
@@ -12,3 +12,14 @@ Symptom: 'invalidaccess -7' opening PostScript files in Evince, Okular, etc
% 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
+--- gnu-ghostscript-9.14.1/Resource/Init/gs_init.ps.in.old 2016-11-06 16:53:19.000000000 +0000
++++ gnu-ghostscript-9.14.1/Resource/Init/gs_init.ps.in 2019-06-26 03:07:59.256491684 +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