Patch added to fix the following error: from webkitgtk-2.24.2 webkitgtk-2.26.3/Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp:95:51: error: operator '&&' has no right operand defined(_LITTLE_ENDIAN) && _LITTLE_ENDIAN == 1 ^~ diff --git a/Source/WTF/wtf/Assertions.h b/Source/WTF/wtf/Assertions.h index 315f3e6..31b36db 100644 --- a/Source/WTF/wtf/Assertions.h +++ b/Source/WTF/wtf/Assertions.h @@ -452,7 +452,7 @@ constexpr bool assertionFailureDueToUnreachableCode = false; /* COMPILE_ASSERT */ #ifndef COMPILE_ASSERT -#if COMPILER_SUPPORTS(C_STATIC_ASSERT) +#if COMPILER_SUPPORTS(C_STATIC_ASSERT) && !defined(__cplusplus) /* Unlike static_assert below, this also works in plain C code. */ #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name) #else --- webkitgtk-2.42.1/Source/WebCore/platform/network/DNS.h 2023-09-19 10:27:49.931690500 +0200 +++ webkitgtk-2.42.1/Source/WebCore/platform/network/DNS.h.new 2023-11-02 18:42:11.066549296 +0100 @@ -37,6 +37,10 @@ #include #endif +#ifdef __sun__ +#include +#endif + namespace WebCore { class IPAddress {