The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=e02114425827bb40e2d9f12a546672be652de8c9
commit e02114425827bb40e2d9f12a546672be652de8c9 Author: Dimitry Andric <[email protected]> AuthorDate: 2026-05-29 22:59:24 +0000 Commit: Dimitry Andric <[email protected]> CommitDate: 2026-05-29 22:59:49 +0000 Work around unterminated-string-initialization warnings in acpidb ACPICA 20250807 fixes these warnings by adding nonstring attributes, but since ACPICA in stable/14 has not been updated for quite some time, suppress the warning for clang >= 21 instead. Direct commit to stable/14, since stable/15 and main already have ACPICA 20250807. --- usr.sbin/acpi/acpidb/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr.sbin/acpi/acpidb/Makefile b/usr.sbin/acpi/acpidb/Makefile index dc3a871edf3f..714d43b3755a 100644 --- a/usr.sbin/acpi/acpidb/Makefile +++ b/usr.sbin/acpi/acpidb/Makefile @@ -88,6 +88,10 @@ LIBADD= pthread # Turn off the warning, because this is in contributed code. .if ${COMPILER_TYPE} == "clang" CWARNFLAGS+= -Wno-null-pointer-arithmetic +.if ${COMPILER_VERSION} >= 210000 +# XXX: Workaround for these warnings, which are fixed in ACPICA 20250807 +CWARNFLAGS+= -Wno-unterminated-string-initialization +.endif .endif # AcpiUtInitStackPtrTrace intentionally leaks a pointer to an
