sanlock/suse-no-date-time.patch
James Fehlig 6bcd7e7869 Accepting request 828552 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.2
  - Remove extra link args
  - Add write_init_io_timeout
  - Disable high_priority SCHED_RR by default
  - Dropped patches:
    sanlock-lto-disable-fpie.patch
- Add tar_scm source service and use xz compression

OBS-URL: https://build.opensuse.org/request/show/828552
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=61
2020-08-21 17:07:44 +00:00

30 lines
942 B
Diff

Index: sanlock-3.8.2/src/main.c
===================================================================
--- sanlock-3.8.2.orig/src/main.c
+++ sanlock-3.8.2/src/main.c
@@ -2183,8 +2183,8 @@ static int read_command_line(int argc, c
}
if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) {
- printf("%s %s (built %s %s)\n",
- argv[0], VERSION, __DATE__, __TIME__);
+ printf("%s %s\n",
+ argv[0], VERSION);
exit(EXIT_SUCCESS);
}
Index: sanlock-3.8.2/fence_sanlock/fence_sanlockd.c
===================================================================
--- sanlock-3.8.2.orig/fence_sanlock/fence_sanlockd.c
+++ sanlock-3.8.2/fence_sanlock/fence_sanlockd.c
@@ -565,8 +565,7 @@ int main(int argc, char *argv[])
print_usage();
exit(0);
case 'V':
- printf("fence_sanlockd %s (built %s %s)\n",
- VERSION, __DATE__, __TIME__);
+ printf("fence_sanlockd %s\n", VERSION);
exit(0);
case EOF:
cont = 0;