git: 13bca816f9eb - main - math/saga: Update to 8.3.1

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Thu, 13 Oct 2022 06:00:36 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=13bca816f9eb0ae1daaeb73d0891a206686bf1fd

commit 13bca816f9eb0ae1daaeb73d0891a206686bf1fd
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-10-13 05:55:45 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-10-13 05:55:45 +0000

    math/saga: Update to 8.3.1
    
    Changelog: https://sourceforge.net/p/saga-gis/wiki/Changelog%208.3.1/attachment/changelog_saga_8.3.1.txt
    
    MFH:            2022Q4
---
 math/saga/Makefile | 6 ++++--
 math/saga/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/math/saga/Makefile b/math/saga/Makefile
index 62573aeb1cc9..5656fdf4358f 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	saga
-PORTVERSION=	8.3.0
-PORTREVISION=	3
+PORTVERSION=	8.3.1
 CATEGORIES=	math
 MASTER_SITES=	SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
 
@@ -79,6 +78,9 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|typedef unsigned long	DWORD;|typedef unsigned int	DWORD;|' \
 		${WRKSRC}/src/saga_core/saga_api/api_core.h
 .endif
+	# print/libharu installs v2.3.0, with '2.4.0dev' in include/hpdf_version.h
+	@${REINPLACE_CMD} -e 's|HPDF_MINOR_VERSION < 4|HPDF_MINOR_VERSION < 5|' \
+		${WRKSRC}/src/tools/docs/docs_pdf/doc_pdf.cpp
 	@${REINPLACE_CMD} -e 's|PORTVERSION|${PORTVERSION}|' \
 		${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp
 	@${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \
diff --git a/math/saga/distinfo b/math/saga/distinfo
index 155a6317ae96..a75240fededa 100644
--- a/math/saga/distinfo
+++ b/math/saga/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657908220
-SHA256 (saga-8.3.0.tar.gz) = 000dd656a6425db39e8ebf62a1aaae257dee324fb5acedd6097bf28a44da84f9
-SIZE (saga-8.3.0.tar.gz) = 7700174
+TIMESTAMP = 1665592293
+SHA256 (saga-8.3.1.tar.gz) = 51eecabf7c335a3002d83856df8eb6f4c5bcb7252ee24f98fb5aef456fa943b3
+SIZE (saga-8.3.1.tar.gz) = 7700892