aboutsummaryrefslogtreecommitdiffstats
path: root/x11/ashell/files/iced/patch-wgpu_src_window.rs
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /x11/ashell/files/iced/patch-wgpu_src_window.rs
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'x11/ashell/files/iced/patch-wgpu_src_window.rs')
-rw-r--r--x11/ashell/files/iced/patch-wgpu_src_window.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/ashell/files/iced/patch-wgpu_src_window.rs b/x11/ashell/files/iced/patch-wgpu_src_window.rs
new file mode 100644
index 000000000000..c185be3fdf87
--- /dev/null
+++ b/x11/ashell/files/iced/patch-wgpu_src_window.rs
@@ -0,0 +1,13 @@
+--- wgpu/src/window.rs.orig 2025-09-19 07:04:16 UTC
++++ wgpu/src/window.rs
+@@ -17,8 +17,8 @@ fn ids_from_dev(dev: u64) -> Option<(u16, u16)> {
+ fn ids_from_dev(dev: u64) -> Option<(u16, u16)> {
+ let path = PathBuf::from(format!(
+ "/sys/dev/char/{}:{}/device",
+- major(dev),
+- minor(dev)
++ major(dev.try_into().unwrap()),
++ minor(dev.try_into().unwrap())
+ ));
+ let vendor = {
+ let path = path.join("vendor");