[SCM] juce/master: Use reproducible date/time
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Thu Jan 21 16:34:06 UTC 2016
The following commit has been merged in the master branch:
commit f346d1104e0a18ef2145d310f5f051863b12b6b9
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Thu Jan 21 17:02:06 2016 +0100
Use reproducible date/time
diff --git a/debian/patches/reproducible-date.patch b/debian/patches/reproducible-date.patch
new file mode 100644
index 0000000..6d9918e
--- /dev/null
+++ b/debian/patches/reproducible-date.patch
@@ -0,0 +1,24 @@
+Description: use reproducible date/time
+ rather than using __DATE__ we use a value that is baed on the debian/changelog
+ timestamp.
+Author: IOhannes m zmölnig
+Last-Update: 2015-01-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/modules/juce_core/time/juce_Time.cpp
++++ juce/modules/juce_core/time/juce_Time.cpp
+@@ -448,10 +448,13 @@
+ return 0;
+ }
+
++#ifndef BUILD_DATE
++# define BUILD_DATE __DATE__
++#endif
+ Time Time::getCompilationDate()
+ {
+ StringArray dateTokens;
+- dateTokens.addTokens (__DATE__, true);
++ dateTokens.addTokens (BUILD_DATE, true);
+ dateTokens.removeEmptyStrings (true);
+
+ return Time (dateTokens[2].getIntValue(),
diff --git a/debian/patches/series b/debian/patches/series
index 1c93582..b415354 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
no-ztypes.patch
+reproducible-date.patch
do-not-track.patch
--
juce packaging
More information about the pkg-multimedia-commits
mailing list