aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ghostscript.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-07-06 01:10:27 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-07-06 02:19:15 +0200
commita64b174751a9fa76375d35d2f2a47a4c93ce0206 (patch)
tree07e6a95492f8eeb88113a28323eb2d03aab5afbc /gnu/packages/ghostscript.scm
parentc23d897766cd409b7ffd1f6c133715999e42099f (diff)
downloadguix-a64b174751a9fa76375d35d2f2a47a4c93ce0206.tar
guix-a64b174751a9fa76375d35d2f2a47a4c93ce0206.tar.gz
gnu: ghostscript: Make build reproducible.
Fixes <https://bugs.gnu.org/27563>. * gnu/packages/ghostscript.scm (ghostscript)[source]: Remove timestamps.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r--gnu/packages/ghostscript.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 136484e6af..d4e78c1223 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -152,7 +152,10 @@ printing, and psresize, for adjusting page sizes.")
'(begin
(for-each delete-file-recursively '("freetype" "jbig2dec" "jpeg"
"lcms2" "libpng"
- "tiff" "zlib"))))))
+ "tiff" "zlib"))
+ ;; Get rid of timestamps.
+ (substitute* "base/mkromfs.c"
+ (("time\\(NULL\\)") "0U"))))))
(build-system gnu-build-system)
(outputs '("out" "doc")) ;19 MiB of HTML/PS doc + examples
(arguments