summaryrefslogtreecommitdiff
path: root/x11-wm/niri/files/patch-smithay-i386
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/niri/files/patch-smithay-i386')
-rw-r--r--x11-wm/niri/files/patch-smithay-i38624
1 files changed, 0 insertions, 24 deletions
diff --git a/x11-wm/niri/files/patch-smithay-i386 b/x11-wm/niri/files/patch-smithay-i386
deleted file mode 100644
index 5bfa5ef82cb5..000000000000
--- a/x11-wm/niri/files/patch-smithay-i386
+++ /dev/null
@@ -1,24 +0,0 @@
-https://github.com/Smithay/smithay/pull/1316
-
---- ../smithay-0eac415ba2d9409cbc201955dc0fd306c116ae05/src/utils/clock.rs.orig 2024-02-02 09:18:10 UTC
-+++ ../smithay-0eac415ba2d9409cbc201955dc0fd306c116ae05/src/utils/clock.rs
-@@ -119,8 +119,8 @@ impl<Kind> Ord for Time<Kind> {
- impl<Kind: NonNegativeClockSource> From<Duration> for Time<Kind> {
- fn from(tp: Duration) -> Self {
- let tp = Timespec {
-- tv_sec: tp.as_secs() as std::os::raw::c_longlong,
-- tv_nsec: tp.subsec_nanos() as std::os::raw::c_longlong,
-+ tv_sec: tp.as_secs() as rustix::time::Secs,
-+ tv_nsec: tp.subsec_nanos() as rustix::time::Nsecs,
- };
- Time {
- tp,
-@@ -138,7 +138,7 @@ impl<Kind> From<Timespec> for Time<Kind> {
- }
- }
-
--const NANOS_PER_SEC: std::os::raw::c_longlong = 1_000_000_000;
-+const NANOS_PER_SEC: rustix::time::Nsecs = 1_000_000_000;
-
- fn saturating_sub_timespec(lhs: Timespec, rhs: Timespec) -> Option<Duration> {
- if let Some(mut secs) = lhs.tv_sec.checked_sub(rhs.tv_sec) {