update schism-nodate.diff
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/schismtracker?expand=0&rev=33
This commit is contained in:
parent
c42455988f
commit
c5421e8d91
@ -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
|
uses just a heuristic - excessive rebuilds should not actually
|
||||||
be happening.
|
be happening.
|
||||||
---
|
---
|
||||||
schism/version.c | 10 +++++-----
|
schism/version.c | 11 +++++------
|
||||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
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-20200412.orig/schism/version.c
|
||||||
+++ schismtracker-20170910/schism/version.c
|
+++ schismtracker-20200412/schism/version.c
|
||||||
@@ -90,6 +90,10 @@ Information at our disposal:
|
@@ -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)
|
static int get_version_tm(struct tm *version)
|
||||||
{
|
{
|
||||||
char *ret;
|
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)
|
if (ret && !*ret)
|
||||||
return 1;
|
return 1;
|
||||||
/* Argh. */
|
/* Argh. */
|
||||||
@ -37,7 +37,15 @@ Index: schismtracker-20170910/schism/version.c
|
|||||||
/* Give up; we don't know anything. */
|
/* Give up; we don't know anything. */
|
||||||
return 0;
|
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);
|
"Schism Tracker %s", ver);
|
||||||
} else {
|
} else {
|
||||||
snprintf(top_banner_normal, sizeof(top_banner_normal) - 1,
|
snprintf(top_banner_normal, sizeof(top_banner_normal) - 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user