Date: Fri, 2 Oct 2015 16:22:54 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398438 - head/devel/sigar/files Message-ID: <201510021622.t92GMsC6078136@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510021622.t92GMsC6078136>