diff --git a/elilo-c99.patch b/elilo-c99.patch new file mode 100644 index 0000000..85e0bfa --- /dev/null +++ b/elilo-c99.patch @@ -0,0 +1,13 @@ +Index: elilo-3.16-source/fs/netfs.c +=================================================================== +--- elilo-3.16-source.orig/fs/netfs.c ++++ elilo-3.16-source/fs/netfs.c +@@ -55,7 +55,7 @@ typedef struct _netfs_fd { + + CHAR8 *netbuf; + UINT64 netbuf_maxsize; /* currently allocated buffer */ +- UINTN netbuf_size; /* number of bytes currently used in the buffer */ ++ UINT64 netbuf_size; /* number of bytes currently used in the buffer */ + UINT64 netbuf_pos; /* current position in the buffer */ + BOOLEAN is_valid; /* avoid conflicting opens */ + BOOLEAN netbuf_reuse; diff --git a/elilo.changes b/elilo.changes index 0b3e087..b753e4a 100644 --- a/elilo.changes +++ b/elilo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 25 15:55:33 UTC 2024 - Filip Kastl + +- Add elilo-c99.patch so that the package conforms to the C99 + standard and builds on i586 with GCC 14. + ------------------------------------------------------------------- Thu Feb 22 11:34:21 UTC 2024 - Dominique Leuenberger diff --git a/elilo.spec b/elilo.spec index fa4324a..d8770d8 100644 --- a/elilo.spec +++ b/elilo.spec @@ -1,7 +1,7 @@ # # spec file for package elilo # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,9 @@ Group: System/Boot Version: 3.16 Release: 0 ExclusiveArch: ia64 %ix86 x86_64 -PreReq: /usr/bin/perl perl(Pod::Usage) perl(Getopt::Long) +PreReq: /usr/bin/perl +PreReq: perl(Getopt::Long) +PreReq: perl(Pod::Usage) # "perl" must be in place *before* any package's 'pre' or 'post' section # can (directly or indirectly) run '/sbin/elilo'! (bnc#842183) %ifarch ia64 @@ -58,6 +60,7 @@ Patch7: elilo-high_base_mem.diff Patch10: elilo-de-debianify.diff Patch11: eliloalt-no-date.diff Patch12: elilo-binutils-2.36-fix.patch +Patch13: elilo-c99.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build