Page MenuHomeFreeBSD

D48463.1784744546.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D48463.1784744546.diff

diff --git a/sysutils/procs/Makefile b/sysutils/procs/Makefile
--- a/sysutils/procs/Makefile
+++ b/sysutils/procs/Makefile
@@ -11,8 +11,6 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_15= compilation fails: cannot find value `CRED_FLAG_CAPMODE` in crate `bsd_kvm_sys`, see https://github.com/dalance/bsd-kvm/issues/4, https://github.com/dalance/bsd-kvm-sys/issues/1, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283410
-
USES= cargo llvm:lib
USE_GITHUB= yes
diff --git a/sysutils/procs/files/patch-src_columns_state.rs b/sysutils/procs/files/patch-src_columns_state.rs
new file mode 100644
--- /dev/null
+++ b/sysutils/procs/files/patch-src_columns_state.rs
@@ -0,0 +1,13 @@
+This is upstream's fix. To be removed at the next update.
+
+--- src/columns/state.rs.orig 2024-10-23 10:22:18 UTC
++++ src/columns/state.rs
+@@ -129,7 +129,7 @@ impl Column for State {
+ if (flag & libc::P_SYSTEM as i64) != 0 || info.lock > 0 {
+ state.push_str("L");
+ }
+- if (cr_flags & bsd_kvm_sys::CRED_FLAG_CAPMODE) != 0 {
++ if (cr_flags & libc::KI_CRF_CAPABILITY_MODE as u32) != 0 {
+ state.push_str("C");
+ }
+ if (kiflag & libc::KI_SLEADER as i64) != 0 {

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 6:22 PM (11 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29230095
Default Alt Text
D48463.1784744546.diff (1 KB)

Event Timeline