summaryrefslogtreecommitdiffstats
path: root/sysutils/xsysinfo
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1998-10-10 11:50:09 +0000
committergj <gj@FreeBSD.org>1998-10-10 11:50:09 +0000
commit9d4a253f1bb6e2d121770eeae8ddc42dfb5fcd5a (patch)
tree56de9c8b5db403e95c67958c52bc9002ac25ae73 /sysutils/xsysinfo
parentfba4c7bbf3a49e98af6858d4d0f0253c6437a1bf (diff)
downloadFreeBSD-ports-9d4a253f1bb6e2d121770eeae8ddc42dfb5fcd5a.zip
FreeBSD-ports-9d4a253f1bb6e2d121770eeae8ddc42dfb5fcd5a.tar.gz
Add patch-ae to change MNT_NFS to MOUNT_NFS. Don't know how I managed
to screw that up. This should now work for -stable. Reported by: Satoshi
Diffstat (limited to 'sysutils/xsysinfo')
-rw-r--r--sysutils/xsysinfo/files/patch-ae11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/xsysinfo/files/patch-ae b/sysutils/xsysinfo/files/patch-ae
new file mode 100644
index 0000000..12337b8
--- /dev/null
+++ b/sysutils/xsysinfo/files/patch-ae
@@ -0,0 +1,11 @@
+--- sysinfo.c.orig Sat Oct 10 13:43:22 1998
++++ sysinfo.c Sat Oct 10 13:43:40 1998
+@@ -364,7 +364,7 @@
+ #if (__FreeBSD_version >= 300003) /* ?? */
+ mib[1] = MNT_EXPORTED;
+ #else
+- mib[1] = MNT_NFS;
++ mib[1] = MOUNT_NFS;
+ #endif
+ mib[2] = NFS_NFSSTATS;
+ if (sysctl( mib, 3, &nfsstats, &size, NULL, 0) < 0)
OpenPOWER on IntegriCloud