maintainer-approval requested: [Bug 292869] x11/nvidia-driver: fix build with clang 21 : [Attachment 267695] x11/nvidia-kmod: Fix build with clang21 (Probosed update)
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
Tomoaki AOKI <[email protected]> has asked freebsd-x11 (Nobody) <[email protected]> for maintainer-approval: Bug 292869: x11/nvidia-driver: fix build with clang 21 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292869 Attachment 267695: x11/nvidia-kmod: Fix build with clang21 (Probosed update) https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267695&action=edit --- Comment #3 from Tomoaki AOKI <[email protected]> --- Created attachment 267695 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267695&action=edit x11/nvidia-kmod: Fix build with clang21 (Probosed update) If nvidia-modeset.ko alone is affected, it is NOT included in x11/nvidia-kmod-{304|340}. And as of differences on prototypes, first proposed patch included in initial diff doesn't applicable for x11/nvidia-kmod-390. This diff stops using additional patch and use REINPLACE_CMD instead to keep things as simple as possible. Not actually tested using clang21, but the targed file is edited by REINPLACE_CMD as intended for all variants of x11/nvidia-kmod{-390|-470|-devel} and does not fail on x11/nvidia-kmod-{304|340}. As x11/nvidia-driver{-304|-340|-390|-470|-devel} no longer include kernel module parts, this version should be sufficient. Targed file is used only for building nvidia-modeset.ko.