File: make-the-build-reproducible-closes-10174.patch

package info (click to toggle)
psi 1.5%2Bdfsg1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,940 kB
  • sloc: cpp: 156,588; ansic: 15,068; javascript: 13,441; xml: 3,199; sh: 1,038; objc: 407; makefile: 396; python: 196; ruby: 171
file content (23 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Chris Lamb <lamby@debian.org>
Date: Tue, 16 Aug 2022 13:53:48 -0700
X-Dgit-Generated: 1.5+dfsg1-1.1 dd0f9f00250fd9aae2920dd7898d4e08e7307666
Subject: Make the build reproducible (Closes: #1017473)


---

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 020c68e..5954ab1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -179,8 +179,8 @@ else()
 	include_directories(${Iris_INCLUDE_DIR})
 endif()
 
-string(TIMESTAMP PSI_COMPILATION_DATE "%Y-%m-%d")
-string(TIMESTAMP PSI_COMPILATION_TIME "%H:%M:%S")
+string(TIMESTAMP PSI_COMPILATION_DATE "%Y-%m-%d" UTC)
+string(TIMESTAMP PSI_COMPILATION_TIME "%H:%M:%S" UTC)
 
 if(ENABLE_WEBKIT)
 	if(NOT USE_WEBENGINE)