openbsd-ports/devel/libgtop2/patches/patch-sysdeps_common_fsusage_c
ajacoutot de57db5cf2 - update to 2.20.1
Note that it does not work better than previous in-tree version but it
will give us a better base to fix it.

joint work with jasper@
most patches adapted from NetBSD
fsusage patch from naddy@

ok jasper@
2008-02-09 16:52:24 +00:00

13 lines
529 B
Plaintext

$OpenBSD: patch-sysdeps_common_fsusage_c,v 1.1 2008/02/09 16:52:25 ajacoutot Exp $
--- sysdeps/common/fsusage.c.orig Fri Dec 28 17:23:01 2007
+++ sysdeps/common/fsusage.c Fri Dec 28 17:23:28 2007
@@ -270,7 +270,7 @@ glibtop_get_fsusage_s (glibtop *server, glibtop_fsusag
return;
#if (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__)) \
- || defined(__FreeBSD__)
+ || defined(__FreeBSD__) || defined(__OpenBSD__)
/* Solaris but not SunOS and FreeBSD */
buf->block_size = fsd.f_frsize;
#else