Date: Thu, 11 Jun 2026 20:07:37 +0000 From: Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron <dumbbell@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Cc: Baptiste Daroussin <bapt@FreeBSD.org> Subject: git: 29f35cb88175 - 2026Q2 - graphics/drm-66-kmod: Fix build with llvm 21 Message-ID: <6a2b1589.1f8e1.25e5b0a9@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2026Q2 has been updated by dumbbell: URL: https://cgit.FreeBSD.org/ports/commit/?id=29f35cb881759e265eeb34373a546e3812a13149 commit 29f35cb881759e265eeb34373a546e3812a13149 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2026-04-27 07:30:39 +0000 Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> CommitDate: 2026-06-11 20:06:40 +0000 graphics/drm-66-kmod: Fix build with llvm 21 (cherry picked from commit 0188ce5233a3bc8fc3a6b73c5cf23743824c90c5) --- 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?6a2b1589.1f8e1.25e5b0a9>
