[Bug 292869] x11/nvidia-driver: fix build with clang 21
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292869 Tomoaki AOKI <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Attachment #267695| |maintainer-approval?(x11@Fr Flags| |eeBSD.org) --- 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. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.