all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 2601938b70f2abe3cba3edad04dd9e3d24efb311 755 bytes (raw)
name: gnu/packages/patches/ghostscript-no-header-creationdate.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
This patch makes emission of /CreationDate and /ModDate headers optional.

diff --git a/orig/gnu-ghostscript-9.14.0/devices/vector/gdevpdf.c b/bb/gnu-ghostscript-9.14.0/devices/vector/gdevpdf.c
index 0fb067e..b342e2c 100644
--- orig/gnu-ghostscript-9.14.0/devices/vector/gdevpdf.c
+++ gnu-ghostscript-9.14.0/devices/vector/gdevpdf.c
@@ -305,6 +305,9 @@ pdf_initialize_ids(gx_device_pdf * pdev)
      * date and time, rather than (for example) %%CreationDate from the
      * PostScript file.  We think this is wrong, but we do the same.
      */
+    if (!getenv("GS_GENERATE_UUIDS") ||
+        (strcmp(getenv("GS_GENERATE_UUIDS"), "0") != 0 &&
+         strcmp(getenv("GS_GENERATE_UUIDS"), "no") != 0))
     {
         struct tm tms;
         time_t t;

debug log:

solving 2601938b7 ...
found 2601938b7 in https://yhetil.org/guix/20170709234644.24682-3-dannym@scratchpost.org/

applying [1/1] https://yhetil.org/guix/20170709234644.24682-3-dannym@scratchpost.org/
diff --git a/gnu/packages/patches/ghostscript-no-header-creationdate.patch b/gnu/packages/patches/ghostscript-no-header-creationdate.patch
new file mode 100644
index 000000000..2601938b7

Checking patch gnu/packages/patches/ghostscript-no-header-creationdate.patch...
Applied patch gnu/packages/patches/ghostscript-no-header-creationdate.patch cleanly.

index at:
100644 2601938b70f2abe3cba3edad04dd9e3d24efb311	gnu/packages/patches/ghostscript-no-header-creationdate.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.