Fixed build

i8 changed/i8/fwupdate-11-3.el8.inferit
Sergey Cherevko 1 year ago
parent 96e90d225b
commit b7599d08f7
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -0,0 +1,25 @@
From 1c5ffb1458afcb2b9ce12f5767a7f02a64272392 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Thu, 7 Dec 2023 15:33:18 +0300
Subject: [PATCH] MSVSphere fix build
---
linux/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux/Makefile b/linux/Makefile
index 3c5f490..82f706a 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -33,7 +33,7 @@ ifeq ($(HAVE_LIBSMBIOS),yes)
endif
BUILDFLAGS := $(CFLAGS) -Wall -Wextra -Werror -Wno-error=cpp \
-Wno-unused-result -Wno-unused-function \
- -Wsign-compare -Werror=sign-compare \
+ -Wno-error=pointer-sign -Wsign-compare -Werror=sign-compare \
-fshort-wchar --std=gnu11 \
-DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE \
-DFWUP_EFI_DIR_NAME=\"$(EFIDIR)\" \
--
2.39.3

@ -5,7 +5,7 @@
Name: fwupdate
Version: 11
Release: 3%{?dist}
Release: 3%{?dist}.inferit
Summary: Tools to manage UEFI firmware updates
License: GPLv2+
URL: https://github.com/rhinstaller/fwupdate
@ -27,6 +27,8 @@ Source2: securebootca.cer
Source3: secureboot.cer
Patch0001: Fix-dependency-chain-for-a-parallel-make-issue.patch
# MSVSphere
Patch1000: 0001-MSVSphere-fix-build.patch
%global __os_install_post %{expand:\
%{?__debug_package:%{__debug_install_post}} \
@ -201,7 +203,8 @@ make abicheck
%defattr(-,root,root)
%changelog
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 11-3
* Thu Dec 07 2023 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 11-3.inferit
- Fixed build
- Rebuilt for MSVSphere 8.8
* Thu Feb 21 2019 Javier Martinez Canillas <javierm@redhat.com> 11-3

Loading…
Cancel
Save