SHA256
1
0
forked from pool/elilo

Accepting request 1191054 from Base:System

- 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. (forwarded request 1189763 from fkastl)

OBS-URL: https://build.opensuse.org/request/show/1191054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elilo?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2024-08-06 07:07:11 +00:00 committed by Git OBS Bridge
commit 0c2f2a8e6a
3 changed files with 24 additions and 2 deletions

13
elilo-c99.patch Normal file
View File

@ -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;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 25 15:55:33 UTC 2024 - Filip Kastl <filip.kastl@suse.com>
- 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 <dimstar@opensuse.org> Thu Feb 22 11:34:21 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package elilo # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,9 @@ Group: System/Boot
Version: 3.16 Version: 3.16
Release: 0 Release: 0
ExclusiveArch: ia64 %ix86 x86_64 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 # "perl" must be in place *before* any package's 'pre' or 'post' section
# can (directly or indirectly) run '/sbin/elilo'! (bnc#842183) # can (directly or indirectly) run '/sbin/elilo'! (bnc#842183)
%ifarch ia64 %ifarch ia64
@ -58,6 +60,7 @@ Patch7: elilo-high_base_mem.diff
Patch10: elilo-de-debianify.diff Patch10: elilo-de-debianify.diff
Patch11: eliloalt-no-date.diff Patch11: eliloalt-no-date.diff
Patch12: elilo-binutils-2.36-fix.patch Patch12: elilo-binutils-2.36-fix.patch
Patch13: elilo-c99.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build