git: f4b8dff84ea0 - main - www/firefox: replace 571ee96df4f6 with upstream fix

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 26 Dec 2021 17:10:47 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f4b8dff84ea0209aa4571d66c4a3516b479cdfed

commit f4b8dff84ea0209aa4571d66c4a3516b479cdfed
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-26 16:17:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-26 17:09:28 +0000

    www/firefox: replace 571ee96df4f6 with upstream fix
    
    Rename the patch to facilitate pruning on update.
---
 .../files/{patch-wayland-1.20 => patch-bug1745560}      | 17 +++++++++--------
 .../files/{patch-wayland-1.20 => patch-bug1745560}      | 17 +++++++++--------
 .../files/{patch-wayland-1.20 => patch-bug1745560}      | 17 +++++++++--------
 3 files changed, 27 insertions(+), 24 deletions(-)

diff --git a/mail/thunderbird/files/patch-wayland-1.20 b/mail/thunderbird/files/patch-bug1745560
similarity index 68%
rename from mail/thunderbird/files/patch-wayland-1.20
rename to mail/thunderbird/files/patch-bug1745560
index 99218fbbb63d..15cfb73d5fae 100644
--- a/mail/thunderbird/files/patch-wayland-1.20
+++ b/mail/thunderbird/files/patch-bug1745560
@@ -1,3 +1,5 @@
+https://hg.mozilla.org/mozilla-central/rev/f7e2cf808d30
+
 ld: warning: undefined symbol: wl_proxy_marshal_flags
 >>> referenced by Unified_cpp_gfx_gl0.cpp
 >>>               objdir/gfx/gl/Unified_cpp_gfx_gl0.o:(mozilla::gl::DeleteWaylandGLSurface(void*))
@@ -7,19 +9,18 @@ ld: warning: undefined symbol: wl_proxy_marshal_flags
 >>>               objdir/gfx/layers/Unified_cpp_gfx_layers1.o:(mozilla::layers::NativeLayerRootWayland::CommitToScreen(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&))
 >>> referenced 84 more times
 
---- widget/gtk/mozwayland/mozwayland.c.orig	2021-09-27 22:47:59 UTC
+diff --git widget/gtk/mozwayland/mozwayland.c widget/gtk/mozwayland/mozwayland.c
+index 7a448e6321e2..1a86468b4f3d 100644
+--- widget/gtk/mozwayland/mozwayland.c
 +++ widget/gtk/mozwayland/mozwayland.c
-@@ -40,6 +40,13 @@ MOZ_EXPORT void wl_event_queue_destroy(struct wl_event
- 
- MOZ_EXPORT void wl_proxy_marshal(struct wl_proxy* p, uint32_t opcode, ...) {}
+@@ -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;
 +}
-+
- MOZ_EXPORT void wl_proxy_marshal_array(struct wl_proxy* p, uint32_t opcode,
-                                        union wl_argument* args) {}
- 
diff --git a/www/firefox-esr/files/patch-wayland-1.20 b/www/firefox-esr/files/patch-bug1745560
similarity index 68%
rename from www/firefox-esr/files/patch-wayland-1.20
rename to www/firefox-esr/files/patch-bug1745560
index 99218fbbb63d..15cfb73d5fae 100644
--- a/www/firefox-esr/files/patch-wayland-1.20
+++ b/www/firefox-esr/files/patch-bug1745560
@@ -1,3 +1,5 @@
+https://hg.mozilla.org/mozilla-central/rev/f7e2cf808d30
+
 ld: warning: undefined symbol: wl_proxy_marshal_flags
 >>> referenced by Unified_cpp_gfx_gl0.cpp
 >>>               objdir/gfx/gl/Unified_cpp_gfx_gl0.o:(mozilla::gl::DeleteWaylandGLSurface(void*))
@@ -7,19 +9,18 @@ ld: warning: undefined symbol: wl_proxy_marshal_flags
 >>>               objdir/gfx/layers/Unified_cpp_gfx_layers1.o:(mozilla::layers::NativeLayerRootWayland::CommitToScreen(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&))
 >>> referenced 84 more times
 
---- widget/gtk/mozwayland/mozwayland.c.orig	2021-09-27 22:47:59 UTC
+diff --git widget/gtk/mozwayland/mozwayland.c widget/gtk/mozwayland/mozwayland.c
+index 7a448e6321e2..1a86468b4f3d 100644
+--- widget/gtk/mozwayland/mozwayland.c
 +++ widget/gtk/mozwayland/mozwayland.c
-@@ -40,6 +40,13 @@ MOZ_EXPORT void wl_event_queue_destroy(struct wl_event
- 
- MOZ_EXPORT void wl_proxy_marshal(struct wl_proxy* p, uint32_t opcode, ...) {}
+@@ -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;
 +}
-+
- MOZ_EXPORT void wl_proxy_marshal_array(struct wl_proxy* p, uint32_t opcode,
-                                        union wl_argument* args) {}
- 
diff --git a/www/firefox/files/patch-wayland-1.20 b/www/firefox/files/patch-bug1745560
similarity index 68%
rename from www/firefox/files/patch-wayland-1.20
rename to www/firefox/files/patch-bug1745560
index 99218fbbb63d..15cfb73d5fae 100644
--- a/www/firefox/files/patch-wayland-1.20
+++ b/www/firefox/files/patch-bug1745560
@@ -1,3 +1,5 @@
+https://hg.mozilla.org/mozilla-central/rev/f7e2cf808d30
+
 ld: warning: undefined symbol: wl_proxy_marshal_flags
 >>> referenced by Unified_cpp_gfx_gl0.cpp
 >>>               objdir/gfx/gl/Unified_cpp_gfx_gl0.o:(mozilla::gl::DeleteWaylandGLSurface(void*))
@@ -7,19 +9,18 @@ ld: warning: undefined symbol: wl_proxy_marshal_flags
 >>>               objdir/gfx/layers/Unified_cpp_gfx_layers1.o:(mozilla::layers::NativeLayerRootWayland::CommitToScreen(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&))
 >>> referenced 84 more times
 
---- widget/gtk/mozwayland/mozwayland.c.orig	2021-09-27 22:47:59 UTC
+diff --git widget/gtk/mozwayland/mozwayland.c widget/gtk/mozwayland/mozwayland.c
+index 7a448e6321e2..1a86468b4f3d 100644
+--- widget/gtk/mozwayland/mozwayland.c
 +++ widget/gtk/mozwayland/mozwayland.c
-@@ -40,6 +40,13 @@ MOZ_EXPORT void wl_event_queue_destroy(struct wl_event
- 
- MOZ_EXPORT void wl_proxy_marshal(struct wl_proxy* p, uint32_t opcode, ...) {}
+@@ -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;
 +}
-+
- MOZ_EXPORT void wl_proxy_marshal_array(struct wl_proxy* p, uint32_t opcode,
-                                        union wl_argument* args) {}
-