gnu: directfb: Remove timestamp to build reproducibly.

* gnu/packages/graphics.scm (directfb)[arguments]: Add 'remove-buildtime
  phase.
This commit is contained in:
Vagrant Cascadian 2022-08-17 17:03:30 -07:00 committed by Vagrant Cascadian
parent ec6122250d
commit 397b103bef
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -177,6 +177,11 @@ (define-public directfb
(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"