* gnu/packages/ghostscript.scm (ghostscript)[source]: Remove timestamps. --- gnu/packages/ghostscript.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 1cb651c96..23a86a65a 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -149,10 +149,14 @@ printing, and psresize, for adjusting page sizes.") "ghostscript-runpath.patch")) (modules '((guix build utils))) (snippet - ;; Honor --docdir. - '(substitute* "Makefile.in" + '(begin + ;; Get rid of timestamps. + (substitute* "base/mkromfs.c" + (("time\\(NULL\\)") "0U")) + ;; Honor --docdir. + (substitute* "Makefile.in" (("^docdir=.*$") "docdir = @docdir@\n") - (("^exdir=.*$") "exdir = $(docdir)/examples\n"))))) + (("^exdir=.*$") "exdir = $(docdir)/examples\n")))))) (build-system gnu-build-system) (outputs '("out" "doc")) ;16 MiB of HTML/PS doc + examples (inputs `(("freetype" ,freetype)