Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 20:02:43 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: be754589e80d - main - science/paje: Fix build with llvm16
Message-ID:  <202307232002.36NK2hgH025145@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=be754589e80dba8662ea9b5b2eff49cd50ba4e6a

commit be754589e80dba8662ea9b5b2eff49cd50ba4e6a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 19:41:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 20:02:30 +0000

    science/paje: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 science/paje/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/science/paje/Makefile b/science/paje/Makefile
index 12bf6bd6e9f0..5ebcc0992671 100644
--- a/science/paje/Makefile
+++ b/science/paje/Makefile
@@ -17,6 +17,12 @@ USE_GNUSTEP=	gui base back build
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DOMAIN|#GNUSTEP_INSTALLATION_DOMAIN|' \
 		${WRKSRC}/GNUmakefile



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