From 397b103bef313c84eb662051fbcd28e223806bd3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Wed, 17 Aug 2022 17:03:30 -0700 Subject: 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(+) (limited to 'gnu/packages/graphics.scm') 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" -- cgit v1.2.3