summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch16
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb1
2 files changed, 17 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)
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb
index 10c2576407..291e922df0 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb
@@ -17,6 +17,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \
17 file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \ 17 file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \
18 file://reproducibility.patch \ 18 file://reproducibility.patch \
19 file://no-musttail-arm.patch \ 19 file://no-musttail-arm.patch \
20 file://sys_futex.patch \
20 file://0001-Cherry-pick-292304-main-7ffc29624258-.-https-bugs.we.patch \ 21 file://0001-Cherry-pick-292304-main-7ffc29624258-.-https-bugs.we.patch \
21 file://0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch \ 22 file://0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch \
22 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \ 23 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \