opensmalltalk cog-spur: update to VMMaker.oscog-eem.3504
[oi-userland.git] / components / library / webkitgtk / patches / 14-build-fixes.patch
blobfbc2e5415b75a4772c340906dec29853285d4654
1 Patch added to fix the following error:
2 from webkitgtk-2.24.2
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
6 ^~
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;
13 /* COMPILE_ASSERT */
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)
19 #else
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
22 @@ -37,6 +37,10 @@
23 #include <netinet/in.h>
24 #endif
26 +#ifdef __sun__
27 +#include <sys/socket.h>
28 +#endif
30 namespace WebCore {
32 class IPAddress {