git: f75ba86e3faf - main - devel/rust-cbindgen: update to 0.24.3

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 23:11:02 UTC
The branch main has been updated by jbeich:

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

commit f75ba86e3fafb37fa02f8d5208564c92a1d3fb40
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-07 16:48:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-17 23:10:20 +0000

    devel/rust-cbindgen: update to 0.24.3
    
    Changes:        https://github.com/eqrion/cbindgen/releases/tag/v0.24.0
    Changes:        https://github.com/eqrion/cbindgen/releases/tag/v0.24.1
    Changes:        https://github.com/eqrion/cbindgen/releases/tag/v0.24.2
    Changes:        https://github.com/eqrion/cbindgen/releases/tag/v0.24.3
    Reported by:    GitHub (watch releases)
---
 devel/rust-cbindgen/Makefile            |  3 +--
 devel/rust-cbindgen/distinfo            |  6 +++---
 mail/thunderbird/files/patch-bug1773070 | 27 +++++++++++++++++++++++++++
 www/firefox-esr/files/patch-bug1773070  | 27 +++++++++++++++++++++++++++
 www/firefox/files/patch-bug1773070      | 26 ++++++++++++++++++++++++++
 5 files changed, 84 insertions(+), 5 deletions(-)

diff --git a/devel/rust-cbindgen/Makefile b/devel/rust-cbindgen/Makefile
index 13eb71348e45..596843f8915a 100644
--- a/devel/rust-cbindgen/Makefile
+++ b/devel/rust-cbindgen/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	cbindgen
-DISTVERSION=	0.23.0
-PORTREVISION=	2
+DISTVERSION=	0.24.3
 CATEGORIES=	devel
 MASTER_SITES=	CRATESIO
 PKGNAMEPREFIX=	rust-
diff --git a/devel/rust-cbindgen/distinfo b/devel/rust-cbindgen/distinfo
index 25a0217e7958..9659bda8cd2d 100644
--- a/devel/rust-cbindgen/distinfo
+++ b/devel/rust-cbindgen/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1650559680
-SHA256 (rust/crates/cbindgen-0.23.0.crate) = 5b6d248e3ca02f3fbfabcb9284464c596baec223a26d91bbf44a5a62ddb0d900
-SIZE (rust/crates/cbindgen-0.23.0.crate) = 188128
+TIMESTAMP = 1654620528
+SHA256 (rust/crates/cbindgen-0.24.3.crate) = a6358dedf60f4d9b8db43ad187391afe959746101346fe51bb978126bec61dfb
+SIZE (rust/crates/cbindgen-0.24.3.crate) = 195698
 SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
 SIZE (rust/crates/atty-0.2.14.crate) = 5470
 SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
diff --git a/mail/thunderbird/files/patch-bug1773070 b/mail/thunderbird/files/patch-bug1773070
new file mode 100644
index 000000000000..fdf8ec9df846
--- /dev/null
+++ b/mail/thunderbird/files/patch-bug1773070
@@ -0,0 +1,27 @@
+In file included from Unified_cpp_accessible_html0.cpp:29:
+In file included from accessible/html/HTMLImageMapAccessible.cpp:14:
+In file included from layout/generic/nsImageFrame.h:17:
+In file included from ../.build/dist/include/nsDisplayList.h:50:
+In file included from ../.build/dist/include/nsCSSRenderingBorders.h:20:
+In file included from ../.build/dist/include/gfxUtils.h:22:
+In file included from ../.build/dist/include/mozilla/webrender/WebRenderTypes.h:11:
+In file included from ../.build/dist/include/mozilla/webrender/webrender_ffi.h:108:
+../.build/dist/include/mozilla/webrender/webrender_ffi_generated.h:gmake[4]: Leaving directory '../.build/accessible/aom'
+24:33: error: redefinition of 'ROOT_CLIP_CHAIN'
+constexpr static const uint64_t ROOT_CLIP_CHAIN = ~0;
+                                ^
+../.build/dist/include/mozilla/webrender/webrender_ffi.h:80:16: note: previous definition is here
+const uint64_t ROOT_CLIP_CHAIN = ~0;
+               ^
+
+--- gfx/webrender_bindings/webrender_ffi.h.orig	2022-05-23 17:12:36 UTC
++++ gfx/webrender_bindings/webrender_ffi.h
+@@ -77,8 +77,6 @@ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpo
+ struct WrPipelineIdAndEpoch;
+ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
+ 
+-const uint64_t ROOT_CLIP_CHAIN = ~0;
+-
+ }  // namespace wr
+ }  // namespace mozilla
+ 
diff --git a/www/firefox-esr/files/patch-bug1773070 b/www/firefox-esr/files/patch-bug1773070
new file mode 100644
index 000000000000..fdf8ec9df846
--- /dev/null
+++ b/www/firefox-esr/files/patch-bug1773070
@@ -0,0 +1,27 @@
+In file included from Unified_cpp_accessible_html0.cpp:29:
+In file included from accessible/html/HTMLImageMapAccessible.cpp:14:
+In file included from layout/generic/nsImageFrame.h:17:
+In file included from ../.build/dist/include/nsDisplayList.h:50:
+In file included from ../.build/dist/include/nsCSSRenderingBorders.h:20:
+In file included from ../.build/dist/include/gfxUtils.h:22:
+In file included from ../.build/dist/include/mozilla/webrender/WebRenderTypes.h:11:
+In file included from ../.build/dist/include/mozilla/webrender/webrender_ffi.h:108:
+../.build/dist/include/mozilla/webrender/webrender_ffi_generated.h:gmake[4]: Leaving directory '../.build/accessible/aom'
+24:33: error: redefinition of 'ROOT_CLIP_CHAIN'
+constexpr static const uint64_t ROOT_CLIP_CHAIN = ~0;
+                                ^
+../.build/dist/include/mozilla/webrender/webrender_ffi.h:80:16: note: previous definition is here
+const uint64_t ROOT_CLIP_CHAIN = ~0;
+               ^
+
+--- gfx/webrender_bindings/webrender_ffi.h.orig	2022-05-23 17:12:36 UTC
++++ gfx/webrender_bindings/webrender_ffi.h
+@@ -77,8 +77,6 @@ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpo
+ struct WrPipelineIdAndEpoch;
+ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
+ 
+-const uint64_t ROOT_CLIP_CHAIN = ~0;
+-
+ }  // namespace wr
+ }  // namespace mozilla
+ 
diff --git a/www/firefox/files/patch-bug1773070 b/www/firefox/files/patch-bug1773070
new file mode 100644
index 000000000000..0c1b3c4dac0e
--- /dev/null
+++ b/www/firefox/files/patch-bug1773070
@@ -0,0 +1,26 @@
+In file included from Unified_cpp_accessible_html0.cpp:29:
+In file included from accessible/html/HTMLImageMapAccessible.cpp:14:
+In file included from layout/generic/nsImageFrame.h:17:
+In file included from ../.build/dist/include/nsDisplayList.h:48:
+In file included from ../.build/dist/include/nsCSSRenderingBorders.h:20:
+In file included from ../.build/dist/include/gfxUtils.h:23:
+In file included from ../.build/dist/include/mozilla/webrender/WebRenderTypes.h:11:
+In file included from ../.build/dist/include/mozilla/webrender/webrender_ffi.h:103:
+../.build/dist/include/mozilla/webrender/webrender_ffi_generated.h:24:33: error: redefinition of 'ROOT_CLIP_CHAIN'
+constexpr static const uint64_t ROOT_CLIP_CHAIN = ~0;
+                                ^
+../.build/dist/include/mozilla/webrender/webrender_ffi.h:75:16: note: previous definition is here
+const uint64_t ROOT_CLIP_CHAIN = ~0;
+               ^
+
+--- gfx/webrender_bindings/webrender_ffi.h.orig	2022-06-08 21:06:36 UTC
++++ gfx/webrender_bindings/webrender_ffi.h
+@@ -72,8 +72,6 @@ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpo
+ struct WrPipelineIdAndEpoch;
+ using WrPipelineIdEpochs = nsTArray<WrPipelineIdAndEpoch>;
+ 
+-const uint64_t ROOT_CLIP_CHAIN = ~0;
+-
+ }  // namespace wr
+ }  // namespace mozilla
+