Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 15:41:59 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f4a12ddbfe62 - main - misc/ecflow: Fix build with llvm16
Message-ID:  <202307211541.36LFfxDV021764@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit f4a12ddbfe624315489d1da85b5d5672bace2079
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 15:29:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 15:41:47 +0000

    misc/ecflow: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 misc/ecflow/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/misc/ecflow/Makefile b/misc/ecflow/Makefile
index 20e3d87c2c42..152491ed8d11 100644
--- a/misc/ecflow/Makefile
+++ b/misc/ecflow/Makefile
@@ -29,4 +29,12 @@ CXXFLAGS_i386=	-fPIC # attempt to work around compilation failure, see https://j
 
 CONFLICTS_BUILD=	python27 # build attempts to find python-2.7 and use it
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+	@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
+		${WRKSRC}/ACore/src/Str.cpp
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307211541.36LFfxDV021764>