aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2026-07-16 23:00:11 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2026-07-18 14:17:17 +0000
commitb8132e75625187bdd597e56ccd63c9cd11d09bac (patch)
treead44bfcfebc5920adf785e167313d6dcfaf2bc8a /x11
parentdc138d54435ce79d0523904a4da74072c7b92372 (diff)
Diffstat (limited to 'x11')
-rw-r--r--x11/xwayland-satellite/files/patch-src_lib.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/xwayland-satellite/files/patch-src_lib.rs b/x11/xwayland-satellite/files/patch-src_lib.rs
new file mode 100644
index 000000000000..c896b1f34914
--- /dev/null
+++ b/x11/xwayland-satellite/files/patch-src_lib.rs
@@ -0,0 +1,13 @@
+--- src/lib.rs.orig 2026-07-16 22:49:38 UTC
++++ src/lib.rs
+@@ -56,8 +56,8 @@ pub const fn timespec_from_millis(millis: u64) -> Time
+ pub const fn timespec_from_millis(millis: u64) -> Timespec {
+ let d = std::time::Duration::from_millis(millis);
+ Timespec {
+- tv_sec: d.as_secs() as i64,
+- tv_nsec: d.subsec_nanos() as i64,
++ tv_sec: d.as_secs() as _,
++ tv_nsec: d.subsec_nanos() as _,
+ }
+ }
+