KaxVersion.cpp: always set KaxCodeDate to "Unknown"

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>.
This commit is contained in:
Moritz Bunkus 2015-11-21 10:58:21 +01:00
parent 2619e001cb
commit 6d8e423ef0
2 changed files with 11 additions and 1 deletions

View File

@ -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.

View File

@ -38,6 +38,10 @@
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