forked from pool/elilo
Compare commits
37 Commits
Author | SHA256 | Date | |
---|---|---|---|
8676282c6e | |||
|
5b235aefb5 | ||
0c2f2a8e6a | |||
17ae22887a | |||
|
b9e5aabc62 | ||
050787f022 | |||
|
d1cebed62f | ||
be4e74a40e | |||
|
82432966e4 | ||
8086aa8f1c | |||
|
5048a757ed | ||
8744855b7a | |||
d39fe2330c | |||
|
0e11a9ab19 | ||
f1d20dce74 | |||
|
b967048e97 | ||
|
3f8af3bf30 | ||
|
a2cc45afea | ||
|
0f99aa0480 | ||
|
32a1b73a7b | ||
79d8411f3e | |||
|
478875aa71 | ||
|
163b743a22 | ||
|
5d6438f663 | ||
|
652ae2fe0f | ||
|
bdd129f371 | ||
|
d2abc5e393 | ||
|
212982063b | ||
|
c5cde82155 | ||
|
90742f4604 | ||
|
6c3f6c3b17 | ||
|
8c4e780b47 | ||
|
aa3377b0cc | ||
|
809ada57a5 | ||
|
dde3d84b1a | ||
|
89cdf89ac1 | ||
|
8a5346e749 |
36
elilo-gcc15.patch
Normal file
36
elilo-gcc15.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
--- elilo-3.16-source/elilo.c 2025-03-06 10:40:50.280032447 +0100
|
||||
+++ elilo-3.16-source/elilo.c 2025-03-06 10:40:09.746026289 +0100
|
||||
@@ -404,15 +404,15 @@ check_edd30(VOID)
|
||||
{
|
||||
EFI_STATUS status;
|
||||
UINTN l = sizeof(BOOLEAN);
|
||||
- UINT8 bool = FALSE;
|
||||
+ UINT8 boolean = FALSE;
|
||||
INTN ret = -1;
|
||||
|
||||
- status = uefi_call_wrapper(RT->GetVariable, 5, L"EDD30", &edd30_guid, NULL, &l, &bool);
|
||||
- if (status == EFI_BUFFER_TOO_SMALL || (bool != TRUE && bool != FALSE)) {
|
||||
+ status = uefi_call_wrapper(RT->GetVariable, 5, L"EDD30", &edd30_guid, NULL, &l, &boolean);
|
||||
+ if (status == EFI_BUFFER_TOO_SMALL || (boolean != TRUE && boolean != FALSE)) {
|
||||
ERR_PRT((L"Warning: EDD30 EFI variable is not boolean value: forcing it to TRUE"));
|
||||
return -1;
|
||||
}
|
||||
- if (status == EFI_SUCCESS && bool == TRUE) {
|
||||
+ if (status == EFI_SUCCESS && boolean == TRUE) {
|
||||
VERB_PRT(3, Print(L"EDD30 is TRUE\n"));
|
||||
elilo_opt.edd30_on = TRUE;
|
||||
ret = 0;
|
||||
@@ -434,10 +434,10 @@ force_edd30(VOID)
|
||||
{
|
||||
EFI_STATUS status;
|
||||
UINTN l = sizeof(BOOLEAN);
|
||||
- UINT8 bool;
|
||||
+ UINT8 boolean;
|
||||
|
||||
- bool = TRUE;
|
||||
- status = uefi_call_wrapper(RT->SetVariable, 5, L"EDD30", &edd30_guid, EDD30_ATTR, l, &bool);
|
||||
+ boolean = TRUE;
|
||||
+ status = uefi_call_wrapper(RT->SetVariable, 5, L"EDD30", &edd30_guid, EDD30_ATTR, l, &boolean);
|
||||
if (EFI_ERROR(status)) {
|
||||
ERR_PRT((L"can't set EDD30 variable: ignoring it"));
|
||||
return -1;
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 09:44:38 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix build with gcc15
|
||||
+ elilo-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 25 15:55:33 UTC 2024 - Filip Kastl <filip.kastl@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package elilo
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -61,6 +61,8 @@ Patch10: elilo-de-debianify.diff
|
||||
Patch11: eliloalt-no-date.diff
|
||||
Patch12: elilo-binutils-2.36-fix.patch
|
||||
Patch13: elilo-c99.patch
|
||||
# build with gcc15
|
||||
Patch14: elilo-gcc15.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
|
Reference in New Issue
Block a user