summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/webkitgtk/webkitgtk3
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-21 09:53:28 -0700
committerKhem Raj <raj.khem@gmail.com>2025-03-21 11:07:35 -0700
commit3f08abfc9cf20a34869673d4d6b9b105db960cc2 (patch)
tree107e66727085e03a47c2c8dc22bdf3f90ce2a66a /meta-oe/recipes-support/webkitgtk/webkitgtk3
parent59d15aa1127bf978ed6788c802f6911d119db6f6 (diff)
downloadmeta-openembedded-3f08abfc9cf20a34869673d4d6b9b105db960cc2.tar.gz
webkitgtk3: Fix build on RISCV32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/webkitgtk/webkitgtk3')
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch
new file mode 100644
index 0000000000..19d18dea88
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch
@@ -0,0 +1,16 @@
1Fix build on newer 32bit architectures with only 64bit time_t
2
3Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/angle/angle/+/6108397]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
6+++ b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
7@@ -17,6 +17,9 @@
8 # include <linux/futex.h>
9 # include <sys/syscall.h>
10 # include <unistd.h>
11+# if !defined(SYS_futex) && defined(SYS_futex_time64)
12+# define SYS_futex SYS_futex_time64
13+# endif
14 # endif // defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_ANDROID)
15
16 # if defined(ANGLE_PLATFORM_WINDOWS)