Add a patch so that autohell correctly detects struct diskstats

dc_rbytes member, fixing the build.
This commit is contained in:
landry 2010-09-13 08:54:21 +00:00
parent 15a61c208c
commit 93d2e80a38
2 changed files with 13 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2010/01/18 22:03:46 okan Exp $
# $OpenBSD: Makefile,v 1.3 2010/09/13 08:54:21 landry Exp $
COMMENT= system statistics gathering library
DISTNAME= libstatgrab-0.15
PKGNAME= ${DISTNAME}p0
REVISION= 1
CATEGORIES= sysutils
HOMEPAGE= http://www.i-scream.org/libstatgrab/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-configure,v 1.1 2010/09/13 08:54:21 landry Exp $
--- configure.orig Fri Jul 13 22:44:37 2007
+++ configure Mon Sep 13 10:37:37 2010
@@ -20205,6 +20205,7 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
#include <sys/disk.h>
int