Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 12:16:13 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: 1e750acf0e47 - main - math/alps: Fix build with llvm16
Message-ID:  <202306261216.35QCGDXs099938@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=1e750acf0e47ff8940c8605d20033da24a2b1876

commit 1e750acf0e47ff8940c8605d20033da24a2b1876
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-26 11:34:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 12:16:00 +0000

    math/alps: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 math/alps/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/math/alps/Makefile b/math/alps/Makefile
index 804c259b4537..162cd959d8f0 100644
--- a/math/alps/Makefile
+++ b/math/alps/Makefile
@@ -26,6 +26,14 @@ GNU_CONFIGURE=	yes
 
 INSTALL_TARGET=	install-strip
 
+.include <bsd.port.options.mk>
+
+post-patch:
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+	@${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \
+		${WRKSRC}/Alps/src/AlpsHelperFunctions.h
+.endif
+
 post-install:
 	${RM} -r ${STAGEDIR}${PREFIX}/share
 



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