guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#61067] [PATCH v2 5/5] gnu: wine: Build more reproducibly.


From: Kaelyn Takata
Subject: [bug#61067] [PATCH v2 5/5] gnu: wine: Build more reproducibly.
Date: Fri, 27 Jan 2023 01:08:44 +0000

* gnu/packages/wine.scm (wine)[phases]: Add a new 'set-widl-time-override phase.
---
 gnu/packages/wine.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 263ec80416..10cae76ed8 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -195,7 +195,12 @@ (define-public wine
                (substitute* "tools/makedep.c"
                  (("output_filenames\\( unix_libs \\);" all)
                   (string-append all
-                                 "output ( \" -Wl,-rpath=%s \", 
arch_install_dirs[arch] );"))))))))
+                                 "output ( \" -Wl,-rpath=%s \", 
arch_install_dirs[arch] );")))))
+           (add-before 'build 'set-widl-time-override
+             ;; Set WIDL_TIME_OVERRIDE to avoid embedding the current date in
+             ;; files generated by WIDL.
+             (lambda _
+               (setenv "WIDL_TIME_OVERRIDE" "315532800"))))))
     (home-page "https://www.winehq.org/";)
     (synopsis "Implementation of the Windows API (32-bit only)")
     (description
--
2.39.1







reply via email to

[Prev in Thread] Current Thread [Next in Thread]