1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

science/afni: Upgrade to 19.1.20

Upstreamed FreeBSD patches, other minor fixes and enhancements

Reported by:    portscout, Rick Reynolds (NIH)
This commit is contained in:
Jason W. Bacon 2019-06-18 19:00:55 +00:00
parent 28997a17f3
commit 6be8fa3bb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504496
5 changed files with 4 additions and 48 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= afni
DISTVERSIONPREFIX= AFNI_
DISTVERSION= 19.1.18
DISTVERSION= 19.1.20
CATEGORIES= science biology graphics perl5 python
MAINTAINER= jwb@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1559998284
SHA256 (afni-afni-AFNI_19.1.18_GH0.tar.gz) = 73be9fa066ba3da3f035c9935612c6f4254257be4f8b99df29437cdd0ca31b07
SIZE (afni-afni-AFNI_19.1.18_GH0.tar.gz) = 38927911
TIMESTAMP = 1560861068
SHA256 (afni-afni-AFNI_19.1.20_GH0.tar.gz) = d9d63e3c8f4d38b28c4ceb71ee5537e66f400a6f2b2e0443fa58f2cf7a112007
SIZE (afni-afni-AFNI_19.1.20_GH0.tar.gz) = 38939294

View File

@ -1,10 +0,0 @@
--- nifti/cifti/afni_xml.h.orig 2015-11-06 21:25:14 UTC
+++ nifti/cifti/afni_xml.h
@@ -5,6 +5,7 @@
#define AXML_MAX_ELEN 128 /* maximum element length */
#include <stdio.h>
+#include <inttypes.h>
/* ----------------------------------------------------------------------
This code is for generic reading of xml into structures.

View File

@ -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
}

View File

@ -1,16 +0,0 @@
--- ptaylor/Makefile.ptaylor.INCLUDE.orig 2019-05-21 17:27:32 UTC
+++ ptaylor/Makefile.ptaylor.INCLUDE
@@ -228,11 +228,11 @@ map_TrackID:map_TrackID.o ${AFNI_3dOBJS} ${PTAYLORLIB}
3dDWUncert.o: 3dDWUncert.c
$(RM) $@
- $(CCOMP_PT) -c 3dDWUncert.c $(PTAYLOR_INCLUDE_PATH)
+ $(CCOMP_PT) -c -fopenmp 3dDWUncert.c $(PTAYLOR_INCLUDE_PATH)
3dDWUncert:3dDWUncert.o ${AFNI_3dOBJS} ${PTAYLORLIB}
$(RM) $@
- $(CCOMP_PT) -o 3dDWUncert 3dDWUncert.o ${AFNI_3dOBJS} \
+ $(CCOMP_PT) -fopenmp -o 3dDWUncert 3dDWUncert.o ${AFNI_3dOBJS} \
${PTAYLOR_INCLUDE_PATH} ${PTAYLOR_LINK_PATH} \
$(LFLAGS) ${PTAYLORLIB} $(LLIBS) \
-lgsl -lgslcblas -lm