git: 98e107e5f619 - main - science/atompaw: Fix building with Flang

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 14:34:20 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98e107e5f61992bd800f090205351ef746f54b60

commit 98e107e5f61992bd800f090205351ef746f54b60
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-09-05 10:14:42 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-09-05 14:34:12 +0000

    science/atompaw: Fix building with Flang
---
 science/atompaw/Makefile                                |  2 +-
 science/atompaw/files/patch-src_input__dataset__mod.F90 | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/science/atompaw/Makefile b/science/atompaw/Makefile
index 1abb405baffa..5e23ebdb9006 100644
--- a/science/atompaw/Makefile
+++ b/science/atompaw/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	atompaw
 DISTVERSION=	4.2.0.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	science
 MASTER_SITES=	http://users.wfu.edu/natalie/papers/pwpaw/
 
diff --git a/science/atompaw/files/patch-src_input__dataset__mod.F90 b/science/atompaw/files/patch-src_input__dataset__mod.F90
new file mode 100644
index 000000000000..cca7d9e3d6ae
--- /dev/null
+++ b/science/atompaw/files/patch-src_input__dataset__mod.F90
@@ -0,0 +1,11 @@
+--- src/input_dataset_mod.F90.orig	2023-06-02 20:37:00 UTC
++++ src/input_dataset_mod.F90
+@@ -2097,7 +2097,7 @@ END IF
+  INTEGER :: input_unit,echo_unit
+  INTEGER :: i_all,i_dx,i_xmin,i_zmesh,i_range
+  LOGICAL :: has_to_echo
+- CHARACTER(200) :: inputline
++ CHARACTER(256) :: inputline
+  TYPE(input_dataset_t),POINTER :: dataset
+ 
+ !------------------------------------------------------------------