diff --git a/schism-nodate.diff b/schism-nodate.diff index 553bc56..bdab6b4 100644 --- a/schism-nodate.diff +++ b/schism-nodate.diff @@ -8,14 +8,14 @@ encoded happens to be the current day. That is ok, since rpmlint uses just a heuristic - excessive rebuilds should not actually be happening. --- - schism/version.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + schism/version.c | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) -Index: schismtracker-20170910/schism/version.c +Index: schismtracker-20200412/schism/version.c =================================================================== ---- schismtracker-20170910.orig/schism/version.c -+++ schismtracker-20170910/schism/version.c -@@ -90,6 +90,10 @@ Information at our disposal: +--- schismtracker-20200412.orig/schism/version.c ++++ schismtracker-20200412/schism/version.c +@@ -92,6 +92,10 @@ Information at our disposal: */ @@ -26,7 +26,7 @@ Index: schismtracker-20170910/schism/version.c static int get_version_tm(struct tm *version) { char *ret; -@@ -99,10 +103,6 @@ static int get_version_tm(struct tm *ver +@@ -101,10 +105,6 @@ static int get_version_tm(struct tm *ver if (ret && !*ret) return 1; /* Argh. */ @@ -37,7 +37,15 @@ Index: schismtracker-20170910/schism/version.c /* Give up; we don't know anything. */ return 0; } -@@ -131,7 +131,7 @@ void ver_init(void) +@@ -118,7 +118,6 @@ void ver_init(void) + if (get_version_tm(&version)) { + version_sec = mktime(&version); + } else { +- printf("help, I am very confused about myself\n"); + version_sec = epoch_sec; + } + +@@ -134,7 +133,7 @@ void ver_init(void) "Schism Tracker %s", ver); } else { snprintf(top_banner_normal, sizeof(top_banner_normal) - 1,