[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27563: [PATCH] gnu: ghostscript: Add phase "remove-timestamps".
From: |
Danny Milosavljevic |
Subject: |
bug#27563: [PATCH] gnu: ghostscript: Add phase "remove-timestamps". |
Date: |
Mon, 3 Jul 2017 20:16:46 +0200 |
* 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'