From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#27563: [PATCH] gnu: ghostscript: Add phase "remove-timestamps". Date: Mon, 3 Jul 2017 20:16:46 +0200 Message-ID: <20170703181646.20170-1-dannym@scratchpost.org> References: <20170703200844.3f6d9e19@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS68k-0006u9-H6 for bug-guix@gnu.org; Mon, 03 Jul 2017 14:32:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dS68g-000547-Ew for bug-guix@gnu.org; Mon, 03 Jul 2017 14:32:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dS68g-00053y-Bd for bug-guix@gnu.org; Mon, 03 Jul 2017 14:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dS68g-0007A3-2Y for bug-guix@gnu.org; Mon, 03 Jul 2017 14:32:02 -0400 In-Reply-To: <20170703200844.3f6d9e19@scratchpost.org> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27563@debbugs.gnu.org * 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'