openbsd-ports/devel/libgtop2/patches/patch-sysdeps_openbsd_procmem_c
robert ecda17faba unbreak by using KVM_NO_FILES for kvm_openfiles() and by using sysctl
to get shminfo, seminfo and msginfo

ok jasper@
2018-04-27 10:20:03 +00:00

13 lines
379 B
Plaintext

$OpenBSD: patch-sysdeps_openbsd_procmem_c,v 1.11 2018/04/27 10:20:03 robert Exp $
Index: sysdeps/openbsd/procmem.c
--- sysdeps/openbsd/procmem.c.orig
+++ sysdeps/openbsd/procmem.c
@@ -42,6 +42,7 @@
/* XXX until uvm gets cleaned up */
#include <sys/mutex.h>
typedef int boolean_t;
+#define RBT_PROTOTYPE(a, b, c, d) extern int nope
#include <uvm/uvm.h>
/* Fixme ... */