diff options
author | swills <swills@FreeBSD.org> | 2015-10-03 00:22:53 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2015-10-03 00:22:53 +0800 |
commit | 6dae55f1ad86162f045457b5f0ced3571413321e (patch) | |
tree | bf2783663f8fee0006035f63a615adc3457fdff8 /devel | |
parent | 048aa9a5410e1c2f7e055eef6a2d84b52872d7c0 (diff) | |
download | freebsd-ports-gnome-6dae55f1ad86162f045457b5f0ced3571413321e.tar.gz freebsd-ports-gnome-6dae55f1ad86162f045457b5f0ced3571413321e.tar.zst freebsd-ports-gnome-6dae55f1ad86162f045457b5f0ced3571413321e.zip |
devel/sigar: fix build on 11-CURRENT after removal of v_cache_min/max
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sigar/files/patch-src_os_darwin_darwin__sigar.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c b/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c new file mode 100644 index 000000000000..19874dc574cd --- /dev/null +++ b/devel/sigar/files/patch-src_os_darwin_darwin__sigar.c @@ -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); |