git: 0e3391e9f7c0 - main - science/helfem: Fix build with clang-14

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 24 Jun 2022 19:29:41 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e3391e9f7c098996edcb59bb969c33104fc97d9

commit 0e3391e9f7c098996edcb59bb969c33104fc97d9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-24 19:26:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-24 19:29:39 +0000

    science/helfem: Fix build with clang-14
    
    Due to a regression in clang-14 and the improper C++ include line
    caused build failure.
    
    Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264877
---
 science/helfem/Makefile | 3 +++
 science/helfem/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/science/helfem/Makefile b/science/helfem/Makefile
index af210d8e0afd..123c6ba37158 100644
--- a/science/helfem/Makefile
+++ b/science/helfem/Makefile
@@ -3,6 +3,9 @@ DISTVERSION=	g20210912
 PORTREVISION=	3
 CATEGORIES=	science # chemistry
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	4c0196c3ef3f254a22030eda787105c8a48df919.patch:-p1 # https://github.com/susilehtola/HelFEM/pull/7
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Finite element methods for electronic structure calculations
 
diff --git a/science/helfem/distinfo b/science/helfem/distinfo
index d288399d72d8..dced120724b0 100644
--- a/science/helfem/distinfo
+++ b/science/helfem/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1631463421
+TIMESTAMP = 1656098405
 SHA256 (susilehtola-HelFEM-g20210912-21461e9_GH0.tar.gz) = 08dde1f20ff741ca0befbc0472b0264f48be82e083fb4dd34927ef9cd7bffca6
 SIZE (susilehtola-HelFEM-g20210912-21461e9_GH0.tar.gz) = 1020779
+SHA256 (4c0196c3ef3f254a22030eda787105c8a48df919.patch) = 349f730515667da1a85d8646d282208ee26dc3c93a5fd0468dab06ad727593fc
+SIZE (4c0196c3ef3f254a22030eda787105c8a48df919.patch) = 573