public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-nu-plugin-core] f43: Adapt to minor breaking API change in interprocess v2.4
@ 2026-10-17 11:54 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-17 11:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-nu-plugin-core
Branch : f43
Commit : f81fe86a1c6477b901c5a86f04f695e64affd060
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-17T13:39:32+02:00
Stats  : +28/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-nu-plugin-core/c/f81fe86a1c6477b901c5a86f04f695e64affd060?branch=f43

Log:
Adapt to minor breaking API change in interprocess v2.4

---
diff --git a/0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch b/0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch
new file mode 100644
index 0000000..4ed9946
--- /dev/null
+++ b/0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch
@@ -0,0 +1,27 @@
+From c652331450df5046d7c8e759d60180af454826d1 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Sat, 17 Oct 2026 13:34:46 +0200
+Subject: [PATCH] Adapt to minor breaking API change in interprocess v2.4
+
+---
+ src/communication_mode/mod.rs | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/communication_mode/mod.rs b/src/communication_mode/mod.rs
+index 576cfe8..84964d9 100644
+--- a/src/communication_mode/mod.rs
++++ b/src/communication_mode/mod.rs
+@@ -158,8 +158,9 @@ impl PreparedServerCommunication {
+             #[cfg(feature = "local-socket")]
+             PreparedServerCommunication::LocalSocket { listener, .. } => {
+                 use interprocess::local_socket::traits::{
+-                    Listener, ListenerNonblockingMode, Stream,
++                    Listener, Stream,
+                 };
++                use interprocess::local_socket::ListenerNonblockingMode;
+                 use std::time::{Duration, Instant};
+ 
+                 const RETRY_PERIOD: Duration = Duration::from_millis(1);
+-- 
+2.56.0
+

diff --git a/rust-nu-plugin-core.spec b/rust-nu-plugin-core.spec
index 2f6be9b..3080a6d 100644
--- a/rust-nu-plugin-core.spec
+++ b/rust-nu-plugin-core.spec
@@ -14,6 +14,7 @@ URL:            https://crates.io/crates/nu-plugin-core
 Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          nu-plugin-core-fix-metadata-auto.diff
+Patch:          0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-17 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 11:54 [rpms/rust-nu-plugin-core] f43: Adapt to minor breaking API change in interprocess v2.4 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox