Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 18:10:01 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: 6237f271f400 - main - x11-toolkits/irrlicht: Fix build with llvm16
Message-ID:  <202306251810.35PIA16d094011@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=6237f271f4008087f56a1b76e1d10c4396b93a2b

commit 6237f271f4008087f56a1b76e1d10c4396b93a2b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 12:04:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 18:09:47 +0000

    x11-toolkits/irrlicht: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 x11-toolkits/irrlicht/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-toolkits/irrlicht/Makefile b/x11-toolkits/irrlicht/Makefile
index 375355240e36..e6da6e43c716 100644
--- a/x11-toolkits/irrlicht/Makefile
+++ b/x11-toolkits/irrlicht/Makefile
@@ -33,6 +33,12 @@ OPTIONS_DEFINE=	DEBUG EXAMPLES
 
 DEBUG_MAKE_ENV_OFF=	NDEBUG=1
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Dregister=
+.endif
+
 post-extract:
 .for bundled in bzip2 jpeglib libpng zlib
 	@${RM} -r ${WRKSRC}/source/Irrlicht/${bundled}



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