[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
[bug#61067] [PATCH 1/3] gnu: wine: Update to 8.0., Kaelyn Takata, 2023/01/25
[bug#61067] [PATCH 3/3] gnu: wine-staging: Update to 8.0., Kaelyn Takata, 2023/01/25
[bug#61067] [PATCH v2 0/5] Update wine and wine-staging packages to 8.0, Kaelyn Takata, 2023/01/26
[bug#61067] [PATCH v2 4/5] gnu: wine64: Share phases with parent wine package., Kaelyn Takata, 2023/01/26
[bug#61067] [PATCH] gnu: wine: Invert the relationship between wine and wine-minimal., Kaelyn Takata, 2023/01/30