aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/abiword.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-01-11 22:06:42 +0100
committerLudovic Courtès <ludo@gnu.org>2017-01-11 23:01:54 +0100
commitaaa2581b6190988d36d9b39dbe05591dd7007b23 (patch)
tree482bea32b91e63c8021f58ac540e97ae3ad501f2 /gnu/packages/abiword.scm
parent89b99531c2789baac421e003457c496471b16416 (diff)
downloadgnu-guix-aaa2581b6190988d36d9b39dbe05591dd7007b23.tar
gnu-guix-aaa2581b6190988d36d9b39dbe05591dd7007b23.tar.gz
gnu: abiword: Remove timestamps from libabiword.
* gnu/packages/abiword.scm (abiword)[source](modules, snippet): New fields.
Diffstat (limited to 'gnu/packages/abiword.scm')
-rw-r--r--gnu/packages/abiword.scm6
1 files changed, 6 insertions, 0 deletions
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"))))