diff options
| author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2026-06-14 20:52:58 +0000 |
|---|---|---|
| committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2026-06-14 20:52:58 +0000 |
| commit | 625b0ffb538d671ad8941210da2b9994c18580c0 (patch) | |
| tree | 4ddd0e4be6fd0f9008a2f0e83b91f9bbd057720d | |
| parent | 6ff19dcb080b1d6367fff31cb369effeb30621b2 (diff) | |
devel/rust-cbindgen: update to 0.29.4
Release Notes:
https://github.com/mozilla/cbindgen/releases/tag/0.29.4
Second attempt, pull in fixes for gecko esr ports to fix build with
newer rust-cbindgen as per https://github.com/mozilla/cbindgen/issues/1165
| -rw-r--r-- | devel/rust-cbindgen/Makefile | 3 | ||||
| -rw-r--r-- | devel/rust-cbindgen/distinfo | 6 | ||||
| -rw-r--r-- | mail/thunderbird-esr/files/patch-bug2046162 | 31 | ||||
| -rw-r--r-- | www/firefox-esr/files/patch-bug2046162 | 31 |
4 files changed, 66 insertions, 5 deletions
diff --git a/devel/rust-cbindgen/Makefile b/devel/rust-cbindgen/Makefile index d9e43ae3418a..55508cdcf2bc 100644 --- a/devel/rust-cbindgen/Makefile +++ b/devel/rust-cbindgen/Makefile @@ -1,6 +1,5 @@ PORTNAME= cbindgen -DISTVERSION= 0.29.3 -PORTREVISION= 1 +DISTVERSION= 0.29.4 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= CRATESIO diff --git a/devel/rust-cbindgen/distinfo b/devel/rust-cbindgen/distinfo index d89f555ab619..3a817f7916f3 100644 --- a/devel/rust-cbindgen/distinfo +++ b/devel/rust-cbindgen/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1779988797 -SHA256 (rust/crates/cbindgen-0.29.3.crate) = c95537b45400390270fae69ac098d057c8f5399001cde9d04f700c105ddfff2d -SIZE (rust/crates/cbindgen-0.29.3.crate) = 236733 +TIMESTAMP = 1781464822 +SHA256 (rust/crates/cbindgen-0.29.4.crate) = 2ecb53484c9c167ba674026b656d8a27d7657a58e6066aa902bfb1a4aa00ae20 +SIZE (rust/crates/cbindgen-0.29.4.crate) = 238017 SHA256 (rust/crates/anstream-0.6.19.crate) = 301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933 SIZE (rust/crates/anstream-0.6.19.crate) = 28767 SHA256 (rust/crates/anstyle-1.0.11.crate) = 862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd diff --git a/mail/thunderbird-esr/files/patch-bug2046162 b/mail/thunderbird-esr/files/patch-bug2046162 new file mode 100644 index 000000000000..7e47b1356afc --- /dev/null +++ b/mail/thunderbird-esr/files/patch-bug2046162 @@ -0,0 +1,31 @@ +diff --git gfx/wr/webrender/src/texture_cache.rs gfx/wr/webrender/src/texture_cache.rs +--- gfx/wr/webrender/src/texture_cache.rs ++++ gfx/wr/webrender/src/texture_cache.rs +@@ -270,23 +270,23 @@ + SharedAlpha16, + Standalone, + } + + impl BudgetType { +- pub const COUNT: usize = 7; ++ const COUNT: usize = 7; + +- pub const VALUES: [BudgetType; BudgetType::COUNT] = [ ++ const VALUES: [BudgetType; BudgetType::COUNT] = [ + BudgetType::SharedColor8Linear, + BudgetType::SharedColor8Nearest, + BudgetType::SharedColor8Glyphs, + BudgetType::SharedAlpha8, + BudgetType::SharedAlpha8Glyphs, + BudgetType::SharedAlpha16, + BudgetType::Standalone, + ]; + +- pub const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [ ++ const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [ + profiler::ATLAS_COLOR8_LINEAR_PRESSURE, + profiler::ATLAS_COLOR8_NEAREST_PRESSURE, + profiler::ATLAS_COLOR8_GLYPHS_PRESSURE, + profiler::ATLAS_ALPHA8_PRESSURE, + profiler::ATLAS_ALPHA8_GLYPHS_PRESSURE, + diff --git a/www/firefox-esr/files/patch-bug2046162 b/www/firefox-esr/files/patch-bug2046162 new file mode 100644 index 000000000000..7e47b1356afc --- /dev/null +++ b/www/firefox-esr/files/patch-bug2046162 @@ -0,0 +1,31 @@ +diff --git gfx/wr/webrender/src/texture_cache.rs gfx/wr/webrender/src/texture_cache.rs +--- gfx/wr/webrender/src/texture_cache.rs ++++ gfx/wr/webrender/src/texture_cache.rs +@@ -270,23 +270,23 @@ + SharedAlpha16, + Standalone, + } + + impl BudgetType { +- pub const COUNT: usize = 7; ++ const COUNT: usize = 7; + +- pub const VALUES: [BudgetType; BudgetType::COUNT] = [ ++ const VALUES: [BudgetType; BudgetType::COUNT] = [ + BudgetType::SharedColor8Linear, + BudgetType::SharedColor8Nearest, + BudgetType::SharedColor8Glyphs, + BudgetType::SharedAlpha8, + BudgetType::SharedAlpha8Glyphs, + BudgetType::SharedAlpha16, + BudgetType::Standalone, + ]; + +- pub const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [ ++ const PRESSURE_COUNTERS: [usize; BudgetType::COUNT] = [ + profiler::ATLAS_COLOR8_LINEAR_PRESSURE, + profiler::ATLAS_COLOR8_NEAREST_PRESSURE, + profiler::ATLAS_COLOR8_GLYPHS_PRESSURE, + profiler::ATLAS_ALPHA8_PRESSURE, + profiler::ATLAS_ALPHA8_GLYPHS_PRESSURE, + |
