git: 1a3999d4728c - main - graphics/xd3d: Fix building with Clang 21

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 29 Jan 2026 18:12:16 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a3999d4728c470fd1eb42747cbc3179f35ad918

commit 1a3999d4728c470fd1eb42747cbc3179f35ad918
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-01-29 17:51:07 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-01-29 18:12:08 +0000

    graphics/xd3d: Fix building with Clang 21
---
 graphics/xd3d/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/xd3d/Makefile b/graphics/xd3d/Makefile
index 6f5600a2cca1..01c53594ef12 100644
--- a/graphics/xd3d/Makefile
+++ b/graphics/xd3d/Makefile
@@ -41,6 +41,7 @@ FETCH_BEFORE_ARGS=	-R -o ${DISTDIR}/${DISTFILES}
 
 USES=		fortran xorg
 USE_XORG=	x11 xpm
+CFLAGS=		-Wno-implicit-int -Wno-implicit-function-declaration
 FFLAGS+=	-O -std=legacy
 MEMORY_XD3D?=	64