svn commit: r398438 - head/devel/sigar/files

Steve Wills swills at FreeBSD.org
Fri Oct 2 16:22:54 UTC 2015


Author: swills
Date: Fri Oct  2 16:22:53 2015
New Revision: 398438
URL: https://svnweb.freebsd.org/changeset/ports/398438

Log:
  devel/sigar: fix build on 11-CURRENT after removal of v_cache_min/max

Added:
  head/devel/sigar/files/
  head/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c   (contents, props changed)

Added: head/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c	Fri Oct  2 16:22:53 2015	(r398438)
@@ -0,0 +1,13 @@
+--- src/os/darwin/darwin_sigar.c.orig	2014-11-17 21:46:20 UTC
++++ src/os/darwin/darwin_sigar.c
+@@ -400,8 +400,10 @@ static int sigar_vmstat(sigar_t *sigar, 
+     GET_VM_STATS(vm, v_inactive_target, 0);
+     GET_VM_STATS(vm, v_inactive_count, 1);
+     GET_VM_STATS(vm, v_cache_count, 1);
++#if (__FreeBSD_version < 1100079 )
+     GET_VM_STATS(vm, v_cache_min, 0);
+     GET_VM_STATS(vm, v_cache_max, 0);
++#endif
+     GET_VM_STATS(vm, v_pageout_free_min, 0);
+     GET_VM_STATS(vm, v_interrupt_free_min, 0);
+     GET_VM_STATS(vm, v_forks, 0);


More information about the svn-ports-all mailing list