diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-21 09:53:28 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-21 11:07:35 -0700 |
| commit | 3f08abfc9cf20a34869673d4d6b9b105db960cc2 (patch) | |
| tree | 107e66727085e03a47c2c8dc22bdf3f90ce2a66a | |
| parent | 59d15aa1127bf978ed6788c802f6911d119db6f6 (diff) | |
| download | meta-openembedded-3f08abfc9cf20a34869673d4d6b9b105db960cc2.tar.gz | |
webkitgtk3: Fix build on RISCV32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch | 16 | ||||
| -rw-r--r-- | meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.0.bb | 1 |
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 @@ | |||
| 1 | Fix build on newer 32bit architectures with only 64bit time_t | ||
| 2 | |||
| 3 | Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/angle/angle/+/6108397] | ||
| 4 | Signed-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 \ |
