pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cargo-about/patches
Module Name: pkgsrc
Committed By: pin
Date: Thu Dec 4 18:50:48 UTC 2025
Added Files:
pkgsrc/devel/cargo-about/patches:
patch-.._vendor_mio-1.1.0_src_sys_unix_selector_kqueue.rs
Log Message:
devel/cargo-about: add patch for mio
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/cargo-about/patches/patch-.._vendor_mio-1.1.0_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.
Added files:
Index: pkgsrc/devel/cargo-about/patches/patch-.._vendor_mio-1.1.0_src_sys_unix_selector_kqueue.rs
diff -u /dev/null pkgsrc/devel/cargo-about/patches/patch-.._vendor_mio-1.1.0_src_sys_unix_selector_kqueue.rs:1.1
--- /dev/null Thu Dec 4 18:50:48 2025
+++ pkgsrc/devel/cargo-about/patches/patch-.._vendor_mio-1.1.0_src_sys_unix_selector_kqueue.rs Thu Dec 4 18:50:47 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-.._vendor_mio-1.1.0_src_sys_unix_selector_kqueue.rs,v 1.1 2025/12/04 18:50:47 pin Exp $
+
+Fix build using upstream non-released commit
+https://github.com/tokio-rs/mio/pull/1923
+
+--- ../vendor/mio-1.1.0/src/sys/unix/selector/kqueue.rs.orig 2025-12-04 08:47:31.211497049 +0000
++++ ../vendor/mio-1.1.0/src/sys/unix/selector/kqueue.rs
+@@ -50,10 +50,7 @@ type Flags = u16;
+ 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