* gnu/packages/ghostscript.scm (ghostscript): Add phase "remove-timestamps".
---
gnu/packages/ghostscript.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 1cb651c96..56e05cd77 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -185,6 +185,11 @@ printing, and psresize, for adjusting page sizes.")
(substitute* "base/gscdef.c"
(("GS_DOCDIR")
"\"~/.guix-profile/share/doc/ghostscript\""))))
+ (add-after 'configure 'remove-timestamps
+ (lambda _
+ (substitute* "base/mkromfs.c"
+ (("time\\(NULL\\)") "0U"))
+ #t))
(replace 'build
(lambda _
;; Build 'libgs.so', but don't build the statically-linked 'gs'