From 4ec6110f342978a04095c43fab282b205707dd0e Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 16 Dec 2021 20:14:28 +0300 Subject: [PATCH] firefox-95.0.1 --- ...missing-stub-for-wl_proxy_marshal_fl.patch | 28 +++++++++++++++++++ network/web/firefox/pspec.xml | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 network/web/firefox/files/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch diff --git a/network/web/firefox/files/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch b/network/web/firefox/files/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch new file mode 100644 index 0000000000..bcd5e25822 --- /dev/null +++ b/network/web/firefox/files/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch @@ -0,0 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Kevin Daudt +Date: Sun, 12 Dec 2021 13:38:48 +0000 +Subject: [PATCH] Bug 1745560 - Add missing stub for wl_proxy_marshal_flags, + r=stransky + +Firefox fails to build against wayland 1.20 because this symbol is missing + +Differential Revision: https://phabricator.services.mozilla.com/D133583 +--- + widget/gtk/mozwayland/mozwayland.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/widget/gtk/mozwayland/mozwayland.c b/widget/gtk/mozwayland/mozwayland.c +index 7a448e6321e2..1a86468b4f3d 100644 +--- a/widget/gtk/mozwayland/mozwayland.c ++++ b/widget/gtk/mozwayland/mozwayland.c +@@ -200,3 +200,10 @@ MOZ_EXPORT int wl_list_empty(const struct wl_list* list) { return -1; } + + MOZ_EXPORT void wl_list_insert_list(struct wl_list* list, + struct wl_list* other) {} ++ ++MOZ_EXPORT struct wl_proxy* wl_proxy_marshal_flags( ++ struct wl_proxy* proxy, uint32_t opcode, ++ const struct wl_interface* interface, uint32_t version, uint32_t flags, ++ ...) { ++ return NULL; ++} diff --git a/network/web/firefox/pspec.xml b/network/web/firefox/pspec.xml index 29ed59b66c..8017fde45f 100644 --- a/network/web/firefox/pspec.xml +++ b/network/web/firefox/pspec.xml @@ -74,7 +74,7 @@ util-linux - + 0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch