1 Patch added to fix the following error:
4 webkitgtk-2.26.3/Source/ThirdParty/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp:95:51: error: operator '&&' has no right operand
5 defined(_LITTLE_ENDIAN) && _LITTLE_ENDIAN == 1
7 diff --git a/Source/WTF/wtf/Assertions.h b/Source/WTF/wtf/Assertions.h
8 index 315f3e6..31b36db 100644
9 --- a/Source/WTF/wtf/Assertions.h
10 +++ b/Source/WTF/wtf/Assertions.h
11 @@ -452,7 +452,7 @@ constexpr bool assertionFailureDueToUnreachableCode = false;
14 #ifndef COMPILE_ASSERT
15 -#if COMPILER_SUPPORTS(C_STATIC_ASSERT)
16 +#if COMPILER_SUPPORTS(C_STATIC_ASSERT) && !defined(__cplusplus)
17 /* Unlike static_assert below, this also works in plain C code. */
18 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name)
20 --- webkitgtk-2.42.1/Source/WebCore/platform/network/DNS.h 2023-09-19 10:27:49.931690500 +0200
21 +++ webkitgtk-2.42.1/Source/WebCore/platform/network/DNS.h.new 2023-11-02 18:42:11.066549296 +0100
23 #include <netinet/in.h>
27 +#include <sys/socket.h>