diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2021-04-20 21:43:58 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-04 22:57:51 +0100 |
| commit | 49034c5cdac61d12931d21653fc40b3e8b2c8906 (patch) | |
| tree | d28dac315cbad60827d9690732842627771fd5f3 /meta | |
| parent | 8197c42f5732b3b39b125a119ec1ee2dd00bd3e6 (diff) | |
| download | poky-49034c5cdac61d12931d21653fc40b3e8b2c8906.tar.gz | |
weston: fix build failure due to race condition
The wayland.c actually include 'xdg-shell-client-protocol.h' instead of
the server one, so fix it. Otherwise, it's possible to get build failure
due to race condition.
(From OE-Core rev: 9147e34486d7d45365e590140c5f08aa4be367ee)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-meson.build-fix-incorrect-header.patch | 32 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/weston_9.0.0.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-meson.build-fix-incorrect-header.patch b/meta/recipes-graphics/wayland/weston/0001-meson.build-fix-incorrect-header.patch new file mode 100644 index 0000000000..06e0f7baec --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/0001-meson.build-fix-incorrect-header.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From a2ba4714a6872e547621d29d9ddcb0f374b88cf6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
| 3 | Date: Tue, 20 Apr 2021 20:42:18 -0700 | ||
| 4 | Subject: [PATCH] meson.build: fix incorrect header | ||
| 5 | |||
| 6 | The wayland.c actually include 'xdg-shell-client-protocol.h' instead of | ||
| 7 | the server one, so fix it. Otherwise, it's possible to get build failure | ||
| 8 | due to race condition. | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 13 | --- | ||
| 14 | libweston/backend-wayland/meson.build | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/libweston/backend-wayland/meson.build b/libweston/backend-wayland/meson.build | ||
| 18 | index 7e82513..29270b5 100644 | ||
| 19 | --- a/libweston/backend-wayland/meson.build | ||
| 20 | +++ b/libweston/backend-wayland/meson.build | ||
| 21 | @@ -10,7 +10,7 @@ srcs_wlwl = [ | ||
| 22 | fullscreen_shell_unstable_v1_protocol_c, | ||
| 23 | presentation_time_protocol_c, | ||
| 24 | presentation_time_server_protocol_h, | ||
| 25 | - xdg_shell_server_protocol_h, | ||
| 26 | + xdg_shell_client_protocol_h, | ||
| 27 | xdg_shell_protocol_c, | ||
| 28 | ] | ||
| 29 | |||
| 30 | -- | ||
| 31 | 2.30.2 | ||
| 32 | |||
diff --git a/meta/recipes-graphics/wayland/weston_9.0.0.bb b/meta/recipes-graphics/wayland/weston_9.0.0.bb index 50fbfa613b..bcbac06d58 100644 --- a/meta/recipes-graphics/wayland/weston_9.0.0.bb +++ b/meta/recipes-graphics/wayland/weston_9.0.0.bb | |||
| @@ -11,6 +11,7 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | |||
| 11 | file://xwayland.weston-start \ | 11 | file://xwayland.weston-start \ |
| 12 | file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \ | 12 | file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \ |
| 13 | file://0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch \ | 13 | file://0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch \ |
| 14 | file://0001-meson.build-fix-incorrect-header.patch \ | ||
| 14 | " | 15 | " |
| 15 | 16 | ||
| 16 | SRC_URI_append_libc-musl = " file://dont-use-plane-add-prop.patch " | 17 | SRC_URI_append_libc-musl = " file://dont-use-plane-add-prop.patch " |
