summaryrefslogtreecommitdiff
path: root/scite/debian/patches/0002-reproducible_build.patch
blob: d91ff9b0bcc6420feca7681eed67bb876dd5575f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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(-)

diff --git a/scite/src/Credits.cxx b/scite/src/Credits.cxx
index 7489bf2..3e8ff89 100644
--- a/scite/src/Credits.cxx
+++ b/scite/src/Credits.cxx
@@ -619,7 +619,7 @@ void SciTEBase::SetAboutMessage(GUI::ScintillaWindow &wsci, const char *appTitle
 		}
 		AddStyledText(wsci, GetTranslationToAbout("Version"), trsSty);
 		AddStyledText(wsci, sVersion, 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"), trsSty);
bgstack15