Update to 3.0.5

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2017-02-02 15:28:32 -05:00
parent 6fdce6c226
commit dd5f5e3cb6
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,27 @@
From a031ddee7c78a7d66d214da8f5cd329641b1e6a8 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Thu, 2 Feb 2017 15:23:55 -0500
Subject: [PATCH] Work around -Werror=maybe-uninitialized not being very
bright.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
apps/route80h.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/route80h.c b/apps/route80h.c
index 723dd85..bf550a1 100644
--- a/apps/route80h.c
+++ b/apps/route80h.c
@@ -102,7 +102,7 @@ efi_main (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *systab)
InitializeLib(image_handle, systab);
EFI_PCI_IO *pciio = NULL;
lpcif_t lpcif;
- EFI_STATUS rc;
+ EFI_STATUS rc = EFI_SUCCESS;
struct {
uint16_t vendor;
uint16_t device;
--
2.9.3

View File

@ -0,0 +1,26 @@
From 82e20ab31675b5177e0e05ad26c12d84ff632bc0 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Thu, 2 Feb 2017 15:25:48 -0500
Subject: [PATCH] Fix a sign error in the debughook example app
Signed-off-by: Peter Jones <pjones@redhat.com>
---
apps/debughook.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/debughook.c b/apps/debughook.c
index fb6cdad..9888173 100644
--- a/apps/debughook.c
+++ b/apps/debughook.c
@@ -66,7 +66,7 @@ DebugHook(void)
while (x++) {
/* Make this so it can't /totally/ DoS us. */
#if defined(__x86_64__) || defined(__i386__) || defined(__i686__)
- if (x > 4294967294)
+ if (x > 4294967294ULL)
break;
__asm__ __volatile__("pause");
#elif defined(__aarch64__)
--
2.9.3

View File

@ -14,6 +14,8 @@ Source: http://superb-dca2.dl.sourceforge.net/project/gnu-efi/gnu-efi-%{version}
Patch0001: 0001-Mark-our-explicit-fall-through-so-Wextra-will-work-i.patch Patch0001: 0001-Mark-our-explicit-fall-through-so-Wextra-will-work-i.patch
Patch0002: 0002-Fix-some-types-gcc-doesn-t-like.patch Patch0002: 0002-Fix-some-types-gcc-doesn-t-like.patch
Patch0003: 0003-Fix-arm-build-paths-in-the-makefile.patch Patch0003: 0003-Fix-arm-build-paths-in-the-makefile.patch
Patch0004: 0004-Work-around-Werror-maybe-uninitialized-not-being-ver.patch
Patch0005: 0005-Fix-a-sign-error-in-the-debughook-example-app.patch
%define debug_package %{nil} %define debug_package %{nil}