aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-26 12:00:44 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-26 12:16:01 +0000
commit8a3ca86f6172f2c5c68dd655ceb0a63a117022c5 (patch)
treebe0624a24af7bef981e50d49bdb9a853966a1175
parent5b3ae40ea0b2a9ebb0a2f727fc2bb6e6bd81f34b (diff)
downloadports-8a3ca86f6172f2c5c68dd655ceb0a63a117022c5.tar.gz
ports-8a3ca86f6172f2c5c68dd655ceb0a63a117022c5.zip
graphics/quesoglc: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--graphics/quesoglc/Makefile6
1 files changed, 6 insertions, 0 deletions
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}