summaryrefslogtreecommitdiff
path: root/sysutils/shim/files/patch-MokManager.c
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@FreeBSD.org>2018-12-19 17:30:22 +0000
committerVinícius Zavam <egypcio@FreeBSD.org>2018-12-19 17:30:22 +0000
commitb3cd746e211c8515a1fba643f3cd98653101cf0e (patch)
tree2faa55d6f5757152bf08cfd1ad1eceeb93498d58 /sysutils/shim/files/patch-MokManager.c
parentaudio/rtmidi: add USES=compiler:c11 (diff)
sysutils/shim: introduce new ARCH support (i386)
Makefile bump PORTREVISION; USE_CSTD: gnu89 became gnu99 [0]; files/ *: if ARCH=i386, replaces ARCH with ia32; elf_ia32_efi.lds: sync OUTPUT_FORMAT [1]; MokManager.c: used UINT32 for MokNum. Reported by: pkg-fallout Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D18572 [0] shim.c:2176:3: error: this decimal constant is unsigned only in ISO C90 [1] patch-elf_x86_64_efi.lds always appended -freebsd as OUTPUT_FORMAT
Notes
Notes: svn path=/head/; revision=487805
Diffstat (limited to 'sysutils/shim/files/patch-MokManager.c')
-rw-r--r--sysutils/shim/files/patch-MokManager.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/shim/files/patch-MokManager.c b/sysutils/shim/files/patch-MokManager.c
new file mode 100644
index 000000000000..316572c76815
--- /dev/null
+++ b/sysutils/shim/files/patch-MokManager.c
@@ -0,0 +1,16 @@
+--- MokManager.c.orig 2015-06-30 18:20:12 UTC
++++ MokManager.c
+@@ -588,11 +588,11 @@ static void show_mok_info (EFI_GUID Type
+
+ static EFI_STATUS list_keys (void *KeyList, UINTN KeyListSize, CHAR16 *title)
+ {
+- INTN MokNum = 0;
++ UINT32 MokNum = 0;
+ MokListNode *keys = NULL;
+ UINT32 key_num = 0;
+ CHAR16 **menu_strings;
+- int i;
++ UINT32 i;
+
+ if (KeyListSize < (sizeof(EFI_SIGNATURE_LIST) +
+ sizeof(EFI_SIGNATURE_DATA))) {