civodul pushed a commit to branch master
in repository guix.

commit aaa2581b6190988d36d9b39dbe05591dd7007b23
Author: Ludovic Courtès <[email protected]>
Date:   Wed Jan 11 22:06:42 2017 +0100

    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 f4f79fd..514ac0c 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"))))

Reply via email to