summaryrefslogtreecommitdiff
path: root/science/afni/files/patch-prf__common__circular.c
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2019-06-18 19:00:55 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2019-06-18 19:00:55 +0000
commit6be8fa3bb25ba2d6ace29995220dffcf8094f50f (patch)
tree9247cac104ca786a1401984307a3d7e9e9f05713 /science/afni/files/patch-prf__common__circular.c
parentdatabases/mariadb102-server: Bugfix update to 10.2.25 (diff)
science/afni: Upgrade to 19.1.20
Upstreamed FreeBSD patches, other minor fixes and enhancements Reported by: portscout, Rick Reynolds (NIH)
Notes
Notes: svn path=/head/; revision=504496
Diffstat (limited to 'science/afni/files/patch-prf__common__circular.c')
-rw-r--r--science/afni/files/patch-prf__common__circular.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/science/afni/files/patch-prf__common__circular.c b/science/afni/files/patch-prf__common__circular.c
deleted file mode 100644
index cfcaf2d3f01d..000000000000
--- a/science/afni/files/patch-prf__common__circular.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- prf_common_circular.c.orig 2019-05-10 21:23:56 UTC
-+++ prf_common_circular.c
-@@ -318,8 +318,14 @@ static int show_malloc_stats(char * mesg)
-
- if( show_stats ) {
- fprintf(stderr,"\n----- malloc stats: %s\n", mesg);
--#ifndef DARWIN
-+#if defined(__linux__)
- malloc_stats();
-+#elif defined(__FreeBSD__)
-+ #include <stdlib.h>
-+ #include <malloc_np.h>
-+ malloc_stats_print(NULL, NULL, "g");
-+#else
-+ fprintf(stderr, "No malloc_stats() on this platform.\n");
- #endif
- }
-