git: 8a3ca86f6172 - main - graphics/quesoglc: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 12:16:20 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a3ca86f6172f2c5c68dd655ceb0a63a117022c5 commit 8a3ca86f6172f2c5c68dd655ceb0a63a117022c5 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-26 12:00:44 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-26 12:16:01 +0000 graphics/quesoglc: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/quesoglc/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/quesoglc/Makefile b/graphics/quesoglc/Makefile index 8e82d2f694f7..d1f4af37b456 100644 --- a/graphics/quesoglc/Makefile +++ b/graphics/quesoglc/Makefile @@ -40,6 +40,12 @@ TEST_BUILD_DEPENDS= ${LOCALBASE}/lib/libglut.so:graphics/freeglut \ ${LOCALBASE}/lib/libXmu.so:x11-toolkits/libXmu TEST_TEST_TARGET= check +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}