sysstat/sysstat-9.0.4-no-build-date.patch

105 lines
3.1 KiB
Diff

Index: sadf.c
===================================================================
--- sadf.c.orig
+++ sadf.c
@@ -43,7 +43,7 @@
# define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
long interval = -1, count = 0;
Index: sadc.c
===================================================================
--- sadc.c.orig
+++ sadc.c
@@ -52,7 +52,7 @@
#include "sensors/error.h"
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
long interval = 0;
Index: pidstat.c
===================================================================
--- pidstat.c.orig
+++ pidstat.c
@@ -43,7 +43,7 @@
#define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
unsigned long long uptime[3] = {0, 0, 0};
Index: mpstat.c
===================================================================
--- mpstat.c.orig
+++ mpstat.c
@@ -41,7 +41,7 @@
#define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
unsigned long long uptime[3] = {0, 0, 0};
Index: sar.c
===================================================================
--- sar.c.orig
+++ sar.c
@@ -40,7 +40,7 @@
#define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
/* Interval and count parameters */
Index: iostat.c
===================================================================
--- iostat.c.orig
+++ iostat.c
@@ -47,7 +47,7 @@
#define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
struct stats_cpu *st_cpu[2];
Index: cifsiostat.c
===================================================================
--- cifsiostat.c.orig
+++ cifsiostat.c
@@ -40,7 +40,7 @@
#define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
unsigned long long uptime[2] = {0, 0};
Index: nfsiostat.c
===================================================================
--- nfsiostat.c.orig
+++ nfsiostat.c
@@ -39,7 +39,7 @@
#define _(string) (string)
#endif
-#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__ " compiled " __DATE__ " " __TIME__
+#define SCCSID "@(#)sysstat-" VERSION ": " __FILE__
char *sccsid(void) { return (SCCSID); }
unsigned long long uptime[2] = {0, 0};