Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 04:38:06 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: 9163e631b1f2 - main - graphics/mesa-demos: Fix build with llvm16
Message-ID:  <202306240438.35O4c6en073663@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9163e631b1f2b73c31a6edb211adc7d238a0364d

commit 9163e631b1f2b73c31a6edb211adc7d238a0364d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 01:07:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 04:37:52 +0000

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

diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile
index 1e114053f362..dbfe288960dd 100644
--- a/graphics/mesa-demos/Makefile
+++ b/graphics/mesa-demos/Makefile
@@ -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>


home | help

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