ports/devel/libgtop2/patches/patch-sysdeps_openbsd_glibtop_server_h

14 lines
433 B
Text

Matches what FreeBSD does.
Index: sysdeps/openbsd/glibtop_server.h
--- sysdeps/openbsd/glibtop_server.h.orig
+++ sysdeps/openbsd/glibtop_server.h
@@ -48,7 +48,7 @@ G_BEGIN_DECLS
#define GLIBTOP_SUID_NETLIST 0
#define GLIBTOP_SUID_PROC_WD 0
#define GLIBTOP_SUID_PROC_AFFINITY 0
-#define GLIBTOP_SUID_PROC_IO 0
+#define GLIBTOP_SUID_PROC_IO (1 << GLIBTOP_SYSDEPS_PROC_IO)
#define GLIBTOP_SUID_PROC_OPEN_FILES 0
G_END_DECLS