From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 8 May 2023 14:07:29 -0700
Subject: Replace build year with "present" in copyright declarations.

Embedding the build year breaks reproducible builds and the
auto-generated copyright years are inaccurate, as it is the year the
package was built, not when the copyrightable content was created.

https://reproducible-builds.org/docs/timestamps/
---
 clientapp/EntryPoint.cpp | 2 +-
 serverapp/EntryPoint.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/clientapp/EntryPoint.cpp b/clientapp/EntryPoint.cpp
index a0cbd7b..f6c23d4 100644
--- a/clientapp/EntryPoint.cpp
+++ b/clientapp/EntryPoint.cpp
@@ -123,7 +123,7 @@ static void prog_help(const po::options_description &opts)
 {
 	auto time = std::time(nullptr);
 	printf("%s - A Heroes of Might and Magic 3 clone\n", GameConstants::VCMI_VERSION.c_str());
-	printf("Copyright (C) 2007-%d VCMI dev team - see AUTHORS file\n", std::localtime(&time)->tm_year + 1900);
+	printf("Copyright (C) 2007-present VCMI dev team - see AUTHORS file\n");
 	printf("This is free software; see the source for copying conditions. There is NO\n");
 	printf("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
 	printf("\n");
diff --git a/serverapp/EntryPoint.cpp b/serverapp/EntryPoint.cpp
index 685e700..a0275ee 100644
--- a/serverapp/EntryPoint.cpp
+++ b/serverapp/EntryPoint.cpp
@@ -50,7 +50,7 @@ static void handleCommandOptions(int argc, const char * argv[], boost::program_o
 	{
 		auto time = std::time(nullptr);
 		printf("%s - A Heroes of Might and Magic 3 clone\n", GameConstants::VCMI_VERSION.c_str());
-		printf("Copyright (C) 2007-%d VCMI dev team - see AUTHORS file\n", std::localtime(&time)->tm_year + 1900);
+		printf("Copyright (C) 2007-present VCMI dev team - see AUTHORS file\n");
 		printf("This is free software; see the source for copying conditions. There is NO\n");
 		printf("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n");
 		printf("\n");
