]> granicus.if.org Git - libmatroska/commitdiff
KaxVersion.cpp: always set KaxCodeDate to "Unknown"
authorMoritz Bunkus <moritz@bunkus.org>
Sat, 21 Nov 2015 09:58:21 +0000 (10:58 +0100)
committerMoritz Bunkus <moritz@bunkus.org>
Sat, 21 Nov 2015 09:58:21 +0000 (10:58 +0100)
This is done in order to enable deterministic builds while still keeping
the library API and ABI compatible. Patch by Ed Schouten <ed@nuxi.nl>.

ChangeLog
src/KaxVersion.cpp

index ef5704aa5bd0dc273c2630577d914c71cee4c34f..ce85f8413d4803b00a19f7a8c303f34f92d9ba24 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-21  Moritz Bunkus  <moritz@bunkus.org>
+
+        * KaxVersion.cpp: in order to enable deterministic builds the
+        KaxCodeDate variable has been set to "Unknown" instead of the date
+        and time of compilation. Patch by Ed Schouten <ed@nuxi.nl>.
+
 2015-10-20  Moritz Bunkus  <moritz@bunkus.org>
 
         * Released v1.4.4.
index edc99dc90d8ad693964ce3d486d92947034192cb..b6b168ad596dd956f31ff6175079e62db66486eb 100644 (file)
 START_LIBMATROSKA_NAMESPACE
 
 const std::string KaxCodeVersion = "1.4.4";
-const std::string KaxCodeDate    = __TIMESTAMP__;
+
+// Up to version 1.4.4 this library exported a build date string. As
+// this made the build non-reproducible, replace it by a placeholder to
+// remain binary compatible.
+const std::string KaxCodeDate = "Unknown";
 
 END_LIBMATROSKA_NAMESPACE