pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-ruff



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan 12 10:34:16 UTC 2026

Modified Files:
        pkgsrc/devel/py-ruff: distinfo
Added Files:
        pkgsrc/devel/py-ruff/patches:
            patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs

Log Message:
py-ruff: fix build on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/devel/py-ruff/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-ruff/patches/patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs

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

Modified files:

Index: pkgsrc/devel/py-ruff/distinfo
diff -u pkgsrc/devel/py-ruff/distinfo:1.87 pkgsrc/devel/py-ruff/distinfo:1.88
--- pkgsrc/devel/py-ruff/distinfo:1.87  Sun Jan 11 08:35:36 2026
+++ pkgsrc/devel/py-ruff/distinfo       Mon Jan 12 10:34:16 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.87 2026/01/11 08:35:36 adam Exp $
+$NetBSD: distinfo,v 1.88 2026/01/12 10:34:16 wiz Exp $
 
 BLAKE2s (adler2-2.0.1.crate) = 4d391e0fcde91c7435ee9a5503fee4a5346f549f1b45e482ce3e1e151d90f8f5
 SHA512 (adler2-2.0.1.crate) = 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
@@ -1437,5 +1437,6 @@ Size (zstd-safe-5.0.2+zstd.1.5.2.crate) 
 BLAKE2s (zstd-sys-2.0.16+zstd.1.5.7.crate) = 1d257c4cb668e065d2956c3b1681ffbf98ab091238d2802b1f4c4cf5363d664c
 SHA512 (zstd-sys-2.0.16+zstd.1.5.7.crate) = 4bd56e78003a084a27d916ce845f90ae4657725c0f34d56290a8b0c463309e10d2980d1ee6350d6a913cb7906950271ef3da7f25f56b47d02e4b4a5d902ac7ac
 Size (zstd-sys-2.0.16+zstd.1.5.7.crate) = 775620 bytes
+SHA1 (patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs) = 5c0678741070e9341d8fb702bbe49bf2a60c6a4d
 SHA1 (patch-Cargo.toml) = e3b1aceaa9bd3451d0dc9d74a632958ccf02e4fa
 SHA1 (patch-python_ruff_____main____.py) = 389d75d66b901f4ae563c6d9175427147b3d1cbf

Added files:

Index: pkgsrc/devel/py-ruff/patches/patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs
diff -u /dev/null pkgsrc/devel/py-ruff/patches/patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs:1.1
--- /dev/null   Mon Jan 12 10:34:16 2026
+++ pkgsrc/devel/py-ruff/patches/patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs      Mon Jan 12 10:34:16 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs,v 1.1 2026/01/12 10:34:16 wiz Exp $
+
+https://github.com/tokio-rs/mio/commit/625655db8e66beab8da7a6b1810bb02c045dd5cc
+
+--- ../vendor/mio-1.0.4/src/sys/unix/selector/kqueue.rs.orig   2026-01-09 07:58:13.021012278 +0000
++++ ../vendor/mio-1.0.4/src/sys/unix/selector/kqueue.rs
+@@ -46,10 +46,7 @@ type Flags = u32;
+ type Flags = u32;
+ 
+ // Type of the `udata` field in the `kevent` structure.
+-#[cfg(not(target_os = "netbsd"))]
+ type UData = *mut libc::c_void;
+-#[cfg(target_os = "netbsd")]
+-type UData = libc::intptr_t;
+ 
+ macro_rules! kevent {
+     ($id: expr, $filter: expr, $flags: expr, $data: expr) => {



Home | Main Index | Thread Index | Old Index