forked from pool/elilo
Marcus Meissner
3e5d681a2e
- Add elilo-c99.patch so that the package conforms to the C99 standard and builds on i586 with GCC 14. If the request is OK, please forward it to factory soon-ish so that we can switch the default compiler. OBS-URL: https://build.opensuse.org/request/show/1189763 OBS-URL: https://build.opensuse.org/package/show/Base:System/elilo?expand=0&rev=26
22 lines
634 B
Diff
22 lines
634 B
Diff
---
|
|
tools/eliloalt.c | 8 +++++++-
|
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
--- a/tools/eliloalt.c
|
|
+++ b/tools/eliloalt.c
|
|
@@ -282,7 +282,13 @@ main(int argc, char **argv)
|
|
switch(c) {
|
|
case 0: continue; /* fast path for options */
|
|
case 1:
|
|
- printf("Version %s Date: %s\n", ELILOALT_VERSION, __DATE__);
|
|
+ printf("Version %s\n", ELILOALT_VERSION);
|
|
+ /* Don't use __DATE__ here, as it causes
|
|
+ * excessive rebuilds, which seems very
|
|
+ * wasteful for a tool that did not change
|
|
+ * in a very long time, and probably won't
|
|
+ * any more...
|
|
+ */
|
|
exit(0);
|
|
case 2:
|
|
case 'h':
|