Skip to content

Commit

Permalink
graphics/mesa-demos: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 24, 2023
1 parent 99bb944 commit 9163e63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graphics/mesa-demos/Makefile
Expand Up @@ -22,4 +22,10 @@ USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm
CONFIGURE_ARGS+=--disable-gles1 --disable-osmesa --disable-vg --disable-wayland \
--with-system-data-files

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

.include <bsd.port.mk>

0 comments on commit 9163e63

Please sign in to comment.