summaryrefslogtreecommitdiff
path: root/scite/debian/patches/0002-reproducible_build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'scite/debian/patches/0002-reproducible_build.patch')
-rw-r--r--scite/debian/patches/0002-reproducible_build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/scite/debian/patches/0002-reproducible_build.patch b/scite/debian/patches/0002-reproducible_build.patch
new file mode 100644
index 0000000..d91ff9b
--- /dev/null
+++ b/scite/debian/patches/0002-reproducible_build.patch
@@ -0,0 +1,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