File: 0003-reproducible_build.patch

package info (click to toggle)
scite 4.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,928 kB
  • sloc: cpp: 145,539; ansic: 19,277; python: 6,120; makefile: 806; perl: 200; sh: 184; sql: 160; objc: 18; ruby: 6; tcl: 6; php: 4
file content (20 lines) | stat: -rw-r--r-- 740 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
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 14 Apr 2018 17:39:34 +0000
Subject: Allow reproducible build

===================================================================
---
 scite/src/Credits.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/scite/src/Credits.cxx
+++ b/scite/src/Credits.cxx
@@ -566,7 +566,7 @@
 		}
 		AddStyledText(wsci, GetTranslationToAbout("Version").c_str(), trsSty);
 		AddStyledText(wsci, sVersion.c_str(), 1);
-		AddStyledText(wsci, "    " __DATE__ " " __TIME__ "\n", 1);
+		AddStyledText(wsci, "    " BUILD_DATE "\n", 1);
 		SetAboutStyle(wsci, 2, ColourRGB(0, 0, 0));
 		wsci.StyleSetItalic(2, true);
 		AddStyledText(wsci, GetTranslationToAbout("by").c_str(), trsSty);