Date: Mon, 27 Apr 2026 07:31:21 +0000 From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0188ce5233a3 - main - graphics/drm-66-kmod: Fix build with llvm 21 Message-ID: <69ef10c9.36dca.59e39d66@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=0188ce5233a3bc8fc3a6b73c5cf23743824c90c5 commit 0188ce5233a3bc8fc3a6b73c5cf23743824c90c5 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2026-04-27 07:30:39 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2026-04-27 07:31:18 +0000 graphics/drm-66-kmod: Fix build with llvm 21 --- graphics/drm-66-kmod/files/patch-i915_Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/graphics/drm-66-kmod/files/patch-i915_Makefile b/graphics/drm-66-kmod/files/patch-i915_Makefile new file mode 100644 index 000000000000..51111ea15121 --- /dev/null +++ b/graphics/drm-66-kmod/files/patch-i915_Makefile @@ -0,0 +1,12 @@ +--- i915/Makefile.orig 2025-12-11 14:11:14 UTC ++++ i915/Makefile +@@ -360,6 +360,9 @@ CWARNFLAGS += -Wno-pointer-arith -Wno-format -Wno-cast + # Reason: More or less all files need it due to use of test_bit() macro + # error: cast from 'const unsigned long *' to 'volatile unsigned long *' + CWARNFLAGS += -Wno-pointer-arith -Wno-format -Wno-cast-qual ++.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 210000 ++CWARNFLAGS += -Wno-default-const-init-var-unsafe ++.endif + + CWARNFLAGS.intel_acpi.c= -Wno-incompatible-pointer-types + CWARNFLAGS.intel_audio.c= -Wno-unused-functionhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ef10c9.36dca.59e39d66>
