Index: head/devel/libstatgrab/files/extra-patch-src_libstatgrab_memory__stats.c =================================================================== --- head/devel/libstatgrab/files/extra-patch-src_libstatgrab_memory__stats.c (nonexistent) +++ head/devel/libstatgrab/files/extra-patch-src_libstatgrab_memory__stats.c (revision 490905) @@ -0,0 +1,14 @@ +--- src/libstatgrab/memory_stats.c.orig 2019-01-21 17:51:57 UTC ++++ src/libstatgrab/memory_stats.c +@@ -323,10 +323,7 @@ sg_get_mem_stats_int(sg_mem_stats *mem_stats_buf) { + RETURN_WITH_SET_ERROR_WITH_ERRNO("mem", SG_ERROR_SYSCTLBYNAME, "vm.stats.vm.v_inactive_count"); + } + +- size = sizeof(cache_count); +- if (sysctlbyname("vm.stats.vm.v_cache_count", &cache_count, &size, NULL, 0) < 0) { +- RETURN_WITH_SET_ERROR_WITH_ERRNO("mem", SG_ERROR_SYSCTLBYNAME, "vm.stats.vm.v_cache_count"); +- } ++ cache_count = 0; + + /* Of couse nothing is ever that simple :) And I have inactive pages to + * deal with too. So I'm going to add them to free memory :) Property changes on: head/devel/libstatgrab/files/extra-patch-src_libstatgrab_memory__stats.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property