archrelease: copy trunk to extra-x86_64
[arch-packages.git] / firefox / trunk / 0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch
blobbcd5e25822c0d0ec15da830460774fc468b036f5
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Kevin Daudt <kdaudt@alpinelinux.org>
3 Date: Sun, 12 Dec 2021 13:38:48 +0000
4 Subject: [PATCH] Bug 1745560 - Add missing stub for wl_proxy_marshal_flags,
5 r=stransky
7 Firefox fails to build against wayland 1.20 because this symbol is missing
9 Differential Revision: https://phabricator.services.mozilla.com/D133583
10 ---
11 widget/gtk/mozwayland/mozwayland.c | 7 +++++++
12 1 file changed, 7 insertions(+)
14 diff --git a/widget/gtk/mozwayland/mozwayland.c b/widget/gtk/mozwayland/mozwayland.c
15 index 7a448e6321e2..1a86468b4f3d 100644
16 --- a/widget/gtk/mozwayland/mozwayland.c
17 +++ b/widget/gtk/mozwayland/mozwayland.c
18 @@ -200,3 +200,10 @@ MOZ_EXPORT int wl_list_empty(const struct wl_list* list) { return -1; }
20 MOZ_EXPORT void wl_list_insert_list(struct wl_list* list,
21 struct wl_list* other) {}
23 +MOZ_EXPORT struct wl_proxy* wl_proxy_marshal_flags(
24 + struct wl_proxy* proxy, uint32_t opcode,
25 + const struct wl_interface* interface, uint32_t version, uint32_t flags,
26 + ...) {
27 + return NULL;