diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2018-04-12 21:11:42 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-28 06:40:22 +0700 |
commit | 1d05fe4ffa59f7764e999a0c0421cf960a36f345 (patch) | |
tree | a45728f11cd42b23bbd271eb65cd00b1c33537c3 /system/fwupdate/patches | |
parent | 0e6ee67a63f43e32b12db947554c7ca6bc2f6c18 (diff) |
system/fwupdate: Updated for version 11.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/fwupdate/patches')
-rw-r--r-- | system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch b/system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch new file mode 100644 index 000000000000..f5cff32ad3a9 --- /dev/null +++ b/system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch @@ -0,0 +1,30 @@ +From 7b593644bebe63cf73233e835c18d7bbdb8d063f Mon Sep 17 00:00:00 2001 +From: Mario Limonciello <mario.limonciello@dell.com> +Date: Thu, 19 Apr 2018 09:28:44 -0500 +Subject: [PATCH] efi/fwupdate.c Correct a typographical error + +gcc -Og -g3 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpic -Werror -Wall -Wextra -fshort-wchar -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/build/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-linux-gnu/7/include -c -o fwupdate.o fwupdate.c +fwupdate.c: In function 'msleep': +fwupdate.c:54:2: error: 'gBS' undeclared (first use in this function); did you mean 'BS'? + gBS->Stall(msecs); + ^~~ + BS +fwupdate.c:54:2: note: each undeclared identifier is reported only once for each function it appears in +/build/efi/Makefile:113: recipe for target 'fwupdate.o' failed +--- + efi/fwupdate.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/efi/fwupdate.c b/efi/fwupdate.c +index 464a226..35c9266 100644 +--- a/efi/fwupdate.c ++++ b/efi/fwupdate.c +@@ -51,7 +51,7 @@ static int debugging; + static VOID + msleep(unsigned long msecs) + { +- gBS->Stall(msecs); ++ BS->Stall(msecs); + } + + |