gnu: ghostscript: Make build reproducible.

Fixes <https://bugs.gnu.org/27563>.

* gnu/packages/ghostscript.scm (ghostscript)[source]: Remove timestamps.
This commit is contained in:
Danny Milosavljevic 2017-07-06 01:10:27 +02:00
parent c23d897766
commit a64b174751
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 4 additions and 1 deletions

View File

@ -152,7 +152,10 @@ printing, and psresize, for adjusting page sizes.")
'(begin '(begin
(for-each delete-file-recursively '("freetype" "jbig2dec" "jpeg" (for-each delete-file-recursively '("freetype" "jbig2dec" "jpeg"
"lcms2" "libpng" "lcms2" "libpng"
"tiff" "zlib")))))) "tiff" "zlib"))
;; Get rid of timestamps.
(substitute* "base/mkromfs.c"
(("time\\(NULL\\)") "0U"))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" "doc")) ;19 MiB of HTML/PS doc + examples (outputs '("out" "doc")) ;19 MiB of HTML/PS doc + examples
(arguments (arguments