aboutsummaryrefslogtreecommitdiffstats
path: root/shells/fish/files/patch-src_path.rs
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
commitf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch)
treead799ccacfb459b809b02b9c115ed4befb93b4c1 /shells/fish/files/patch-src_path.rs
parent0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff)
parentb057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'shells/fish/files/patch-src_path.rs')
-rw-r--r--shells/fish/files/patch-src_path.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/fish/files/patch-src_path.rs b/shells/fish/files/patch-src_path.rs
new file mode 100644
index 000000000000..01335107ef4e
--- /dev/null
+++ b/shells/fish/files/patch-src_path.rs
@@ -0,0 +1,11 @@
+--- src/path.rs.orig 2025-09-15 19:16:57 UTC
++++ src/path.rs
+@@ -710,7 +710,7 @@ fn path_remoteness(path: &wstr) -> DirRemoteness {
+ #[cfg(not(target_os = "linux"))]
+ {
+ fn remoteness_via_statfs<StatFS, Flags>(
+- statfn: unsafe extern "C" fn(*const i8, *mut StatFS) -> libc::c_int,
++ statfn: unsafe extern "C" fn(*const libc::c_char, *mut StatFS) -> libc::c_int,
+ flagsfn: fn(&StatFS) -> Flags,
+ is_local_flag: u64,
+ path: &std::ffi::CStr,