aboutsummaryrefslogtreecommitdiff
path: root/payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch
diff options
context:
space:
mode:
authorPiotr Król <piotr.krol@3mdeb.com>2018-07-24 02:13:07 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-11-21 15:51:07 +0000
commitef676b143edb675f7bcafe1c3d99a4ca8e6745ac (patch)
tree2f55e9dc2940c17284a77386ccf920f5e128d485 /payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch
parent3a903426de967ff5c6b200576b754bf9bf4dd6d4 (diff)
payloads/tianocore: rebase patches to UDK2018 release
Patches should be applied against edk2 release instead of arbitrary commit. This aims to simplify Tianocore payload support by other platforms. Change-Id: Ib409f6f93eb64d7a9a2f09a75f8e637ab8689410 Signed-off-by: Piotr Król <piotr.krol@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/27615 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch')
-rw-r--r--payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch b/payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch
deleted file mode 100644
index 701675988d..0000000000
--- a/payloads/external/tianocore/patches/09_gcc7-Fix-building-with-fpermissive.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 5546ab29b2c0c2fc3a963bc71221918dc77b6152 Mon Sep 17 00:00:00 2001
-From: Patrick Rudolph <siro@das-labor.org>
-Date: Sun, 17 Jun 2018 08:53:25 +0200
-Subject: [PATCH] gcc7: Fix building with -fpermissive
-
-Signed-off-by: Patrick Rudolph <siro@das-labor.org>
----
- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 2 +-
- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp b/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
-index 3ca57ed741..4fa066dd9f 100644
---- a/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
-+++ b/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
-@@ -3372,7 +3372,7 @@ CVfrStringDB::GetVarStoreNameFormStringId (
- UINT8 BlockType;
- EFI_HII_STRING_PACKAGE_HDR *PkgHeader;
-
-- if (mStringFileName == '\0' ) {
-+ if (mStringFileName == NULL ) {
- return NULL;
- }
-
-diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
-index 857950118f..de0aa5f7bc 100644
---- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
-+++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
-@@ -2181,7 +2181,7 @@ InternalHiiIfrValueAction (
-
- StringPtr = ConfigAltResp;
-
-- while (StringPtr != L'\0') {
-+ while (StringPtr != NULL) {
- //
- // 1. Find <ConfigHdr> GUID=...&NAME=...&PATH=...
- //
---
-2.17.0
-