From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#27563: [PATCH v2] gnu: ghostscript: Remove timestamps. Date: Mon, 3 Jul 2017 21:46:57 +0200 Message-ID: <20170703194657.19746-1-dannym@scratchpost.org> References: <20170703200844.3f6d9e19@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dS7OA-0005ME-2T for bug-guix@gnu.org; Mon, 03 Jul 2017 15:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dS7O6-0000wJ-6w for bug-guix@gnu.org; Mon, 03 Jul 2017 15:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dS7O6-0000wF-3G for bug-guix@gnu.org; Mon, 03 Jul 2017 15:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dS7O5-0002Rz-Qn for bug-guix@gnu.org; Mon, 03 Jul 2017 15:52:01 -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)[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)