Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: cc47e8270375e0254ab7aafadcfde4eec9e01119 https://github.com/tianocore/edk2/commit/cc47e8270375e0254ab7aafadcfde4eec9e01119 Author: Mike Beaton <mjsbea...@gmail.com> Date: 2024-09-27 (Fri, 27 Sep 2024)
Changed paths: M BaseTools/Source/C/Common/Decompress.c Log Message: ----------- BaseTools: Fix redefinition of UINT8_MAX in Decompress.c on XCODE5 This is part of a sequence of commits to restore build on the XCODE5 toolchain. The definition is required on other toolchains, but on XCODE5 results in a macro redefined error (from the existing value 255) from /usr/include/stdint.h. Signed-off-by: Mike Beaton <mjsbea...@gmail.com> Commit: 0aa93aecb7e83b9eeaaac801b1e842eaf6423f08 https://github.com/tianocore/edk2/commit/0aa93aecb7e83b9eeaaac801b1e842eaf6423f08 Author: Mike Beaton <mjsbea...@gmail.com> Date: 2024-09-27 (Fri, 27 Sep 2024) Changed paths: M MdePkg/Include/Library/DebugLib.h M MdePkg/Include/Library/PerformanceLib.h Log Message: ----------- MdePkg: Fix DEBUG_CODE and PERF_CODE macros for XCODE5 Without these changes, we get the error: error: variable '__DebugCodeLocal' set but not used from the DebugLib.h DEBUG_CODE_BEGIN()/END() macros on XCODE5. Similarly, in NOOPT builds only, we get: error: variable '__PerformanceCodeLocal' set but not used from the PerformanceLib.h PERF_CODE_BEGIN()/END() macros on XCODE5. It is important to note that the previous code involving a local variable was intended to ensure correct behaviour of ; following the macros, in particular that ; should be required: - https://github.com/tianocore/edk2/pull/6226#issuecomment-2364087866 - https://github.com/tianocore/edk2/pull/6226#issuecomment-2364619759 This converted version repeats the standard do { ... } while (FALSE) idiom (which is already used in the END macro) to achieve the same affect. The modified versions work on all toolchains. Signed-off-by: Mike Beaton <mjsbea...@gmail.com> Commit: 95292a0f2430ee9dbbf9929f8b0399ec83be5b24 https://github.com/tianocore/edk2/commit/95292a0f2430ee9dbbf9929f8b0399ec83be5b24 Author: Mike Beaton <mjsbea...@gmail.com> Date: 2024-09-27 (Fri, 27 Sep 2024) Changed paths: M MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c Log Message: ----------- MdeModulePkg/VariablePolicyLib: Fix extraneous parentheses Without this change we get: error: equality comparison with extraneous parentheses when building on XCODE5. Signed-off-by: Mike Beaton <mjsbea...@gmail.com> Commit: 90fb3c6cfcca9a736786d2c10ffe85a9eaf524f2 https://github.com/tianocore/edk2/commit/90fb3c6cfcca9a736786d2c10ffe85a9eaf524f2 Author: Mike Beaton <mjsbea...@gmail.com> Date: 2024-09-27 (Fri, 27 Sep 2024) Changed paths: M CryptoPkg/Library/OpensslLib/OpensslLib.inf M CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf M CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf M CryptoPkg/Library/OpensslLib/OpensslLibFull.inf M CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf Log Message: ----------- CryptoPkg/OpensslLib: Fix build on XCODE5 REF: https://edk2.groups.io/g/devel/message/88179 Without this change, we get: fatal error: 'Availability.h' file not found when building on XCODE5. The workaround uses a define present in openssl/include/crypto/rand.h which modifies openssl behaviour on Apple only, causing the library to default to a non-system specific source of entropy in syscall_random() in rand_unix.c. Co-authored-by: Savva Mitrofanov <savva...@gmail.com> Signed-off-by: Mike Beaton <mjsbea...@gmail.com> Commit: e548e1cd73fe16b59ff9b5f11b37456e4c3de10f https://github.com/tianocore/edk2/commit/e548e1cd73fe16b59ff9b5f11b37456e4c3de10f Author: Mike Beaton <mjsbea...@gmail.com> Date: 2024-09-27 (Fri, 27 Sep 2024) Changed paths: M CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c Log Message: ----------- CryptoPkg: Fix unused variable in CryptX509.c Without this change we get: error: variable 'Index' set but not used when building on XCODE5. Co-authored-by: Savva Mitrofanov <savva...@gmail.com> Signed-off-by: Mike Beaton <mjsbea...@gmail.com> Commit: 8b295e0aad55cdf0c20eba6398862832ce188a0c https://github.com/tianocore/edk2/commit/8b295e0aad55cdf0c20eba6398862832ce188a0c Author: Mike Beaton <mjsbea...@gmail.com> Date: 2024-09-27 (Fri, 27 Sep 2024) Changed paths: M NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c Log Message: ----------- NetworkPkg/Dhcp6Dxe: Fix extraneous parentheses Without this change we get: error: equality comparison with extraneous parentheses when building with -D NETWORK_IP6_ENABLE on XCODE5. Signed-off-by: Mike Beaton <mjsbea...@gmail.com> Compare: https://github.com/tianocore/edk2/compare/ded3ae2cf4ba...8b295e0aad55 To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits