From aaa2581b6190988d36d9b39dbe05591dd7007b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 11 Jan 2017 22:06:42 +0100 Subject: [PATCH] gnu: abiword: Remove timestamps from libabiword. * gnu/packages/abiword.scm (abiword)[source](modules, snippet): New fields. --- gnu/packages/abiword.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/abiword.scm b/gnu/packages/abiword.scm index f4f79fd79a..514ac0ceb5 100644 --- a/gnu/packages/abiword.scm +++ b/gnu/packages/abiword.scm @@ -53,6 +53,12 @@ "/source/" name "-" version ".tar.gz")) (sha256 (base32 "1ik591rx15nn3n1297cwykl8wvrlgj78i528id9wbidgy3xzd570")) + (modules '((guix build utils))) + (snippet + ;; Ensure reproducibility. + '(substitute* "src/wp/main/xp/abi_ver.cpp" + (("__DATE__") "\"2017\"") + (("__TIME__") "\"00:00\""))) (patches (search-patches "abiword-wmf-version-lookup-fix.patch" "abiword-explictly-cast-bools.patch"))))