This is an automated email from the git hooks/post-receive script.

vagrantc pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 397b103bef gnu: directfb: Remove timestamp to build reproducibly.
397b103bef is described below

commit 397b103bef313c84eb662051fbcd28e223806bd3
Author: Vagrant Cascadian <[email protected]>
AuthorDate: Wed Aug 17 17:03:30 2022 -0700

    gnu: directfb: Remove timestamp to build reproducibly.
    
    * gnu/packages/graphics.scm (directfb)[arguments]: Add 'remove-buildtime
      phase.
---
 gnu/packages/graphics.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 1d6dd28c5c..1afaf687be 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -177,6 +177,11 @@ framebuffer graphics, audio output and input event.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'remove-buildtime
+           ;; Remove embedded build time for reproducible builds
+           (lambda _
+             (substitute* "src/core/core.c"
+               (("..BUILDTIME..") ""))))
          (add-after 'unpack 'disable-configure-during-bootstrap
            (lambda _
              (substitute* "autogen.sh"

Reply via email to