git: 88963ff54fdb - main - science/afni: update to 21.3.12

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 20 Dec 2021 13:11:41 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=88963ff54fdbd8b44030bac7b86382f784ed2399

commit 88963ff54fdbd8b44030bac7b86382f784ed2399
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2021-12-19 17:26:27 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2021-12-20 13:10:18 +0000

    science/afni: update to 21.3.12
---
 science/afni/Makefile                              |  2 +-
 science/afni/distinfo                              |  6 +++---
 .../files/patch-crorden_dcm2niix__console_makefile | 24 +++++++++-------------
 science/afni/pkg-plist                             |  3 ++-
 4 files changed, 16 insertions(+), 19 deletions(-)

diff --git a/science/afni/Makefile b/science/afni/Makefile
index 9f50ca94a6fb..034fbe633448 100644
--- a/science/afni/Makefile
+++ b/science/afni/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=		afni
 DISTVERSIONPREFIX=	AFNI_
-DISTVERSION=		21.3.10
+DISTVERSION=		21.3.12
 CATEGORIES=		science biology graphics perl5 python
 
 MAINTAINER=	fernape@FreeBSD.org
diff --git a/science/afni/distinfo b/science/afni/distinfo
index 57e824db6bd6..372791ae2123 100644
--- a/science/afni/distinfo
+++ b/science/afni/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638970395
-SHA256 (afni-afni-AFNI_21.3.10_GH0.tar.gz) = 1efe11a0a232e6b1c58f77f1323e73abd0af41d727fa279fbab4b13fd204b98c
-SIZE (afni-afni-AFNI_21.3.10_GH0.tar.gz) = 43847925
+TIMESTAMP = 1639850671
+SHA256 (afni-afni-AFNI_21.3.12_GH0.tar.gz) = a30d5d5f5f0e004f5e724159e886e3a261674084d3d694fc3677bd5eeafcb9b3
+SIZE (afni-afni-AFNI_21.3.12_GH0.tar.gz) = 43864911
diff --git a/science/afni/files/patch-crorden_dcm2niix__console_makefile b/science/afni/files/patch-crorden_dcm2niix__console_makefile
index 5c34e38e062f..3fbb4ece924e 100644
--- a/science/afni/files/patch-crorden_dcm2niix__console_makefile
+++ b/science/afni/files/patch-crorden_dcm2niix__console_makefile
@@ -1,26 +1,22 @@
---- crorden/dcm2niix_console/makefile.orig	2021-11-08 00:47:00 UTC
+--- crorden/dcm2niix_console/makefile.orig	2021-12-19 17:24:45 UTC
 +++ crorden/dcm2niix_console/makefile
-@@ -1,8 +1,8 @@
+@@ -1,5 +1,5 @@
  # Regular use
 -CFLAGS=-s -O3
-+CXXFLAGS?=-s -O3
++CXXFLAGS=-s -O3
  
  # Debugging
--#CFLAGS=-g
-+#CXXFLAGS=-g
- 
- #Leak tests:
- # https://clang.llvm.org/docs/AddressSanitizer.html
-@@ -21,7 +21,7 @@ ifneq ($(OS),Windows_NT)
-  	ifeq "$(OS)" "Darwin"
+ #CFLAGS=-g
+@@ -22,7 +22,7 @@ ifneq ($(OS),Windows_NT)
  		#CFLAGS=-dead_strip -O3
- 		#CFLAGS= -O3
--		CFLAGS=-O3 -sectcreate __TEXT __info_plist Info.plist
-+		CXXFLAGS=-O3 -sectcreate __TEXT __info_plist Info.plist
+ 	   # ponder -sectcreate later [rickr]
+ 		# CFLAGS=-O3 -sectcreate __TEXT __info_plist Info.plist
+-		CFLAGS= -O3
++		CXXFLAGS= -O3
  		#Apple notarization requires a Info.plist
  		# For .app bundles, the Info.plist is a separate file, for executables it is appended as a section
  		#you can check that the Info.plist section has been inserted with either of these commands
-@@ -31,4 +31,4 @@ ifneq ($(OS),Windows_NT)
+@@ -32,4 +32,4 @@ ifneq ($(OS),Windows_NT)
  	endif
  endif
  all:
diff --git a/science/afni/pkg-plist b/science/afni/pkg-plist
index 0fe645395137..3f338117d268 100644
--- a/science/afni/pkg-plist
+++ b/science/afni/pkg-plist
@@ -232,6 +232,7 @@ bin/3ddelay
 bin/3ddot
 bin/3ddot_beta
 bin/3dedge3
+bin/3dedgedog
 bin/3dfim+
 bin/3dfractionize
 bin/3dhistog
@@ -680,7 +681,7 @@ include/afni/rcmat.h
 include/afni/tagset.h
 include/afni/thd_atlas.h
 include/afni/thd_compress.h
-include/afni/thd_depth.h
+include/afni/thd_edge_dog.h
 include/afni/thd_euler_dist.h
 include/afni/thd_iochan.h
 include/afni/thd_maker.h