pkgsrc-WIP-changes archive

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

rust192: fix some pkglint



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Jan 13 21:56:38 2026 +0100
Changeset:	bbc575bb976fd20343087e772bdac16c1b680844

Modified Files:
	rust192/Makefile
	rust192/distinfo
Added Files:
	rust192/patches/patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
Removed Files:
	rust192/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs

Log Message:
rust192: fix some pkglint

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bbc575bb976fd20343087e772bdac16c1b680844

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

diffstat:
 rust192/Makefile                                          |  4 ++--
 rust192/distinfo                                          |  2 +-
 ...tch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs | 15 ---------------
 ...dor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs | 15 +++++++++++++++
 4 files changed, 18 insertions(+), 18 deletions(-)

diffs:
diff --git a/rust192/Makefile b/rust192/Makefile
index 789208baab..5b62bba51d 100644
--- a/rust192/Makefile
+++ b/rust192/Makefile
@@ -464,8 +464,8 @@ CKSUMS+=	db4afc6c5aae797551c23ebd7930c1f4c931028b4177b3337b492ec8ce20944b
 #CKSUMS+=	6d2c2831119e059d35e81a89b08195a29e325f68acfd86a3a7157ebf8e78182d
 
 #CKSUM_CRATES+=	vendor/openssl-sys-0.9.92
-#CKSUMS+=	
-#CKSUMS+=	
+#CKSUMS+=
+#CKSUMS+=
 
 CKSUM_CRATES+=	vendor/openssl-sys-0.9.107
 CKSUMS+=	a0d47c624273b43b4250cff5fa2f9b75e4199ca76897608563b526aedcdf3a16
diff --git a/rust192/distinfo b/rust192/distinfo
index f7c080b92f..3c0fb0b1ff 100644
--- a/rust192/distinfo
+++ b/rust192/distinfo
@@ -111,7 +111,6 @@ SHA1 (patch-compiler_rustc__target_src_spec_targets_aarch64__be__unknown__netbsd
 SHA1 (patch-compiler_rustc__target_src_spec_targets_aarch64__unknown__netbsd.rs) = 1a02f2dd61a5f9cc4be1f66ac3404c961810c731
 SHA1 (patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs) = 0c5b7c31abe514e3394b910c6e601e40ebbd45c1
 SHA1 (patch-compiler_rustc__target_src_spec_targets_mipsel__unknown__netbsd.rs) = 7deeb7d1d3306e96891dec144ac90398b88c6ad4
-SHA1 (patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs) = c5cd529719daee44aead47ffd97e682ca9d9a1ae
 SHA1 (patch-library_backtrace_src_symbolize_gimli.rs) = 9d5ef634c5a454e474ea5fee76da9bb768f5b3d9
 SHA1 (patch-library_backtrace_src_symbolize_gimli_elf.rs) = 8b18e1dbde59f3e8f20e93c7669618b2c7a13294
 SHA1 (patch-library_std_src_sys_fs_unix.rs) = c5eb48f177f6c1b50903fb6690177058851c526c
@@ -132,6 +131,7 @@ SHA1 (patch-tests_assembly-llvm_targets_targets-elf.rs) = e92c0b7734008ccabc7b7f
 SHA1 (patch-vendor_crossbeam-utils-0.8.18_no__atomic.rs) = d4d9288cb199af9bc7e321fbd2b42860aed954ec
 SHA1 (patch-vendor_libc-0.2.155_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 36d927a0c3fd6ef8d211da5389a981e077aedc29
 SHA1 (patch-vendor_libc-0.2.155_src_unix_solarish_mod.rs) = 97505b88875aa80fa2b5589b6090237c3786e143
+SHA1 (patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs) = c5cd529719daee44aead47ffd97e682ca9d9a1ae
 SHA1 (patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_riscv64.rs) = acbd63b911637fef336a92169a8130133eb64c8c
 SHA1 (patch-vendor_libc-0.2.168_src_unix_solarish_mod.rs) = edbb81319e5f685fd9c2ffe94138c377855a982d
 SHA1 (patch-vendor_libc-0.2.169_src_unix_bsd_netbsdlike_netbsd_mod.rs) = 02c4efefbf1e9e1bd98eb9524515677250ae7454
diff --git a/rust192/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs b/rust192/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
deleted file mode 100644
index 2127d0f1bc..0000000000
--- a/rust192/patches/patch-libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Apply https://github.com/rust-lang/libc/pull/4265/files
-to fix getmntinfo() from rust.
-
---- vendor/libc-0.2.168/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig	2025-04-05 11:35:20.818765987 +0000
-+++ vendor/libc-0.2.168/src/unix/bsd/netbsdlike/netbsd/mod.rs
-@@ -2850,6 +2850,7 @@ extern "C" {
-         hint: *const c_void,
-     ) -> c_int;
- 
-+    #[link_name = "__getmntinfo13"]
-     pub fn getmntinfo(mntbufp: *mut *mut crate::statvfs, flags: c_int) -> c_int;
-     pub fn getvfsstat(buf: *mut statvfs, bufsize: size_t, flags: c_int) -> c_int;
- }
diff --git a/rust192/patches/patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs b/rust192/patches/patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
new file mode 100644
index 0000000000..2127d0f1bc
--- /dev/null
+++ b/rust192/patches/patch-vendor_libc-0.2.168_src_unix_bsd_netbsdlike_netbsd_mod.rs
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Apply https://github.com/rust-lang/libc/pull/4265/files
+to fix getmntinfo() from rust.
+
+--- vendor/libc-0.2.168/src/unix/bsd/netbsdlike/netbsd/mod.rs.orig	2025-04-05 11:35:20.818765987 +0000
++++ vendor/libc-0.2.168/src/unix/bsd/netbsdlike/netbsd/mod.rs
+@@ -2850,6 +2850,7 @@ extern "C" {
+         hint: *const c_void,
+     ) -> c_int;
+ 
++    #[link_name = "__getmntinfo13"]
+     pub fn getmntinfo(mntbufp: *mut *mut crate::statvfs, flags: c_int) -> c_int;
+     pub fn getvfsstat(buf: *mut statvfs, bufsize: size_t, flags: c_int) -> c_int;
+ }


Home | Main Index | Thread Index | Old Index