From nobody Sun Feb 04 01:00:21 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TSB514mPzz58pt7; Sun, 4 Feb 2024 01:00:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TSB514LSpz4YLm; Sun, 4 Feb 2024 01:00:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707008421; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EIK/r75ST2O9yavklsedE6g1svyax2Bl9qW8uW6FeEE=; b=Hf2OC0qGNNyV/jqOx8/dtuITeaLcdLnaA8bDQQJyqCXLP6VDTBrohykbB66pl2FUIiKdo9 mtxgpCtcxGrbnv7+sV1pIbTPl26V8nUpc3Xv6rUcDA67vjQRXACQpypTsoMIQR6Ak/b2NX XTDWR5gLI6B27+uezvp9cnD0R57W3rmW9QXsmd6nkz5rl3/Eu9ianAEYsnOPVijP5kWBVE 3zO+9aKIw458K/P8pf4nHyCVsAzXtFGiwoj+sQSZX/Dzh9dWvIv4pjWZVOTWRRVni7MK8P 9q61nP/Pv4fRKVx6FlqJklHx5lVTE5RxqqBTTCaaDbeZtvlPNzzSxlU9zlGejQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707008421; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EIK/r75ST2O9yavklsedE6g1svyax2Bl9qW8uW6FeEE=; b=X04qA7I3BiwzxOnUh0rm4+AZCk+G67gyIMY4nfaVHhCJj/vN0Q1CJNqMxPOoZFLy3N/Ie5 89bfsJWZxhQRizLZ+rhHYPcXQFJhnLpMWf1Z2baQ4tKloIz2AklxPF5fWKbBuS8gpV7VzS huLTmNAPi8LAC0/OyDP5BM9jZqW7NvTDT+vFrGXy3haa6RxKyP9KNsMUa27eM2tZbwCEs2 o/cQxMoNabD59HbNuYY7mGsyL6oHKAW18Z8kAYYqiq9aHzkBiyU6A73HCukM9iBLSOWz04 HxOWQAcTfE15s39ObOnIzXofO1Yz9XNUqBzCTH3iH4rERywcMfFQqZtMzckxWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707008421; a=rsa-sha256; cv=none; b=gPWp3NyusEeXdfLiEA9kak2LrW3sSLTFFR9Fj715hw1EXKJNTBIZ7fqQzD8b4sJfoDZtzC afrtsTbbc+b0ckmxZIJqE2XkRYJCeYCXrvyewjEitZcemDvoG894Dn0KF9fkSWwAfB9wGp 5GBMlXJLv/pSn71mpHjrgjaG7x6LWTKKcSyrEOgSsc6NDrt55GY8QGjcwzYfxIOI1n9KLL iri7nEI84N79zcQx4pFihBZIYbPuGxwqAPORZfKoJoA26swxoJVpeLMPAt3sIFMs0NElxI q0rZ+HWwt6UrU0mfUHYfBCR3qt9awHxQ6mNH4cV7UY+MloCKhj/w7Z1xkP0acw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TSB5131LDzc1g; Sun, 4 Feb 2024 01:00:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41410LtX076371; Sun, 4 Feb 2024 01:00:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41410LEo076369; Sun, 4 Feb 2024 01:00:21 GMT (envelope-from git) Date: Sun, 4 Feb 2024 01:00:21 GMT Message-Id: <202402040100.41410LEo076369@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 5a0c29181856 - main - x11-wm/niri: switch 47132c04ee75 to upstream fix List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a0c29181856e54a825c501b5ec6d2082567ce68 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a0c29181856e54a825c501b5ec6d2082567ce68 commit 5a0c29181856e54a825c501b5ec6d2082567ce68 Author: Jan Beich AuthorDate: 2024-02-04 00:55:04 +0000 Commit: Jan Beich CommitDate: 2024-02-04 01:00:16 +0000 x11-wm/niri: switch 47132c04ee75 to upstream fix --- x11-wm/niri/files/patch-smithay-i386 | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/x11-wm/niri/files/patch-smithay-i386 b/x11-wm/niri/files/patch-smithay-i386 index 1abbea186ed0..5bfa5ef82cb5 100644 --- a/x11-wm/niri/files/patch-smithay-i386 +++ b/x11-wm/niri/files/patch-smithay-i386 @@ -1,31 +1,24 @@ -https://github.com/Smithay/smithay/issues/1315 +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,11 @@ impl From for +@@ -119,8 +119,8 @@ impl Ord for Time { impl From for Time { 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 libc::time_t, -+ #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -+ tv_nsec: tp.subsec_nanos() as i64, -+ #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] -+ tv_nsec: tp.subsec_nanos() as std::os::raw::c_long, ++ tv_sec: tp.as_secs() as rustix::time::Secs, ++ tv_nsec: tp.subsec_nanos() as rustix::time::Nsecs, }; Time { tp, -@@ -138,7 +141,11 @@ impl From for Time { +@@ -138,7 +138,7 @@ impl From for Time { } } -const NANOS_PER_SEC: std::os::raw::c_longlong = 1_000_000_000; -+#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -+const NANOS_PER_SEC: i64 = 1_000_000_000; -+ -+#[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] -+const NANOS_PER_SEC: std::os::raw::c_long = 1_000_000_000; ++const NANOS_PER_SEC: rustix::time::Nsecs = 1_000_000_000; fn saturating_sub_timespec(lhs: Timespec, rhs: Timespec) -> Option { if let Some(mut secs) = lhs.tv_sec.checked_sub(rhs.tv_sec) {