pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/starship



Module Name:    pkgsrc
Committed By:   pin
Date:           Sat May 10 11:01:18 UTC 2025

Modified Files:
        pkgsrc/shells/starship: distinfo
Added Files:
        pkgsrc/shells/starship/patches:
            patch-.._vendor_gix-index-0.40.0_src_fs.rs

Log Message:
shells/starship: fix broken build

See https://github.com/GitoxideLabs/gitoxide/issues/2004
and https://github.com/GitoxideLabs/gitoxide/pull/2005


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/shells/starship/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/shells/starship/patches/patch-.._vendor_gix-index-0.40.0_src_fs.rs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/starship/distinfo
diff -u pkgsrc/shells/starship/distinfo:1.36 pkgsrc/shells/starship/distinfo:1.37
--- pkgsrc/shells/starship/distinfo:1.36        Thu May  1 13:10:16 2025
+++ pkgsrc/shells/starship/distinfo     Sat May 10 11:01:17 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2025/05/01 13:10:16 pin Exp $
+$NetBSD: distinfo,v 1.37 2025/05/10 11:01:17 pin Exp $
 
 BLAKE2s (adler2-2.0.0.crate) = d269f2089344d4a3f4d0908af3257cf2a65755be0349ff42e3854509afd388f3
 SHA512 (adler2-2.0.0.crate) = 12d12579ad617cf1a94cf95ab9d3f5db566c3b2de4bd5735eccd83c668fdad0eff134c996b73c46cbb9f932837682043878b8cc4764191625e9f93ccffcce423
@@ -1323,3 +1323,4 @@ Size (zvariant_derive-5.4.0.crate) = 134
 BLAKE2s (zvariant_utils-3.2.0.crate) = a37b85bd35e5168e45b50ab6d42717bc90cd237c0efb92629a6597d1b79eac8c
 SHA512 (zvariant_utils-3.2.0.crate) = 9176e3240078a3d240f81272cd6e04438048ee044dabd0233bce0ba9567e97655e2721332dcd43376b09c055c07080e12ffd2888355f003cc32c3bfddbc4c479
 Size (zvariant_utils-3.2.0.crate) = 14779 bytes
+SHA1 (patch-.._vendor_gix-index-0.40.0_src_fs.rs) = 55e12dd4f9c8c771e314562d01c0ded91166ca59

Added files:

Index: pkgsrc/shells/starship/patches/patch-.._vendor_gix-index-0.40.0_src_fs.rs
diff -u /dev/null pkgsrc/shells/starship/patches/patch-.._vendor_gix-index-0.40.0_src_fs.rs:1.1
--- /dev/null   Sat May 10 11:01:18 2025
+++ pkgsrc/shells/starship/patches/patch-.._vendor_gix-index-0.40.0_src_fs.rs   Sat May 10 11:01:18 2025
@@ -0,0 +1,31 @@
+$NetBSD: patch-.._vendor_gix-index-0.40.0_src_fs.rs,v 1.1 2025/05/10 11:01:18 pin Exp $
+
+Fix build with new rustix
+https://github.com/GitoxideLabs/gitoxide/pull/2005/
+
+--- ../vendor/gix-index-0.40.0/src/fs.rs.orig  2025-05-10 10:29:01.812866975 +0000
++++ ../vendor/gix-index-0.40.0/src/fs.rs
+@@ -59,10 +59,8 @@ impl Metadata {
+             #[cfg(any(target_os = "aix", target_os = "hurd"))]
+             let seconds = self.0.st_mtim.tv_sec;
+ 
+-            #[cfg(not(any(target_os = "netbsd", target_os = "aix", target_os = "hurd")))]
++            #[cfg(not(any(target_os = "aix", target_os = "hurd")))]
+             let nanoseconds = self.0.st_mtime_nsec;
+-            #[cfg(target_os = "netbsd")]
+-            let nanoseconds = self.0.st_mtimensec;
+             #[cfg(any(target_os = "aix", target_os = "hurd"))]
+             let nanoseconds = self.0.st_mtim.tv_nsec;
+ 
+@@ -88,10 +86,8 @@ impl Metadata {
+             #[cfg(any(target_os = "aix", target_os = "hurd"))]
+             let seconds = self.0.st_ctim.tv_sec;
+ 
+-            #[cfg(not(any(target_os = "netbsd", target_os = "aix", target_os = "hurd")))]
++            #[cfg(not(any(target_os = "aix", target_os = "hurd")))]
+             let nanoseconds = self.0.st_ctime_nsec;
+-            #[cfg(target_os = "netbsd")]
+-            let nanoseconds = self.0.st_ctimensec;
+             #[cfg(any(target_os = "aix", target_os = "hurd"))]
+             let nanoseconds = self.0.st_ctim.tv_nsec;
+ 



Home | Main Index | Thread Index | Old Index