1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Santiago Vila <sanvila@debian.org>
Subject: Do not embed the build date so that the build is reproducible
--- a/game/OnlineUpdate.cpp
+++ b/game/OnlineUpdate.cpp
@@ -144,7 +144,7 @@
curl_easy_setopt(handle, CURLOPT_WRITEDATA, data);
curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(handle, CURLOPT_TIMEOUT, 30);
- curl_easy_setopt(handle, CURLOPT_USERAGENT, PACKAGE " " VERSION " " OSNAME " (" __DATE__ " " __TIME__ ")");
+ curl_easy_setopt(handle, CURLOPT_USERAGENT, PACKAGE " " VERSION " " OSNAME);
curl_easy_setopt(handle, CURLOPT_URL, onlineUpdate->_updateURL.c_str());
// curl_easy_setopt(handle, CURLOPT_REFERER, "None");
--- a/game/main.cpp
+++ b/game/main.cpp
@@ -138,7 +138,6 @@
{
LOG_INFO << "----------------------------------" << endl;
LOG_INFO << GAMETITLE << " " << GAMEVERSION
- << " - "__TIME__" "__DATE__
<< endl;
LOG_INFO << "Copyright (C) 2001-2005 by Frank Becker" << endl;
LOG_INFO << "Visit http://criticalmass.sourceforge.net" << endl;
|