maintainer-approval requested: [Bug 294096] graphics/nvidia-drm-66-kmod unbuildable ISO C99 and later do not support implicit function declarations : [Attachment 269286] Patch to fix build for affected branches
| 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 294096: graphics/nvidia-drm-66-kmod unbuildable ISO C99 and later do not support implicit function declarations https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294096 Attachment 269286: Patch to fix build for affected branches https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269286&action=edit --- Comment #7 from Tomoaki AOKI <[email protected]> --- Created attachment 269286 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269286&action=edit Patch to fix build for affected branches Sorry, I was wrong. I've mistakenly specified improper variable to override version to confirm, thus, missingly compared exactly same files. Redoing the confirmation clarified that you're right. Also, official pkg builder start complaining at freebsd-pkg-fallout ML. The offending line is introduced at 595 series. 590 and 580 series aren't affected. Currently not 100% sure it's really correct fix, but as offending pm_vt_switch_required() is still a stub (blank) function even on main, remove it when built against affected and supported branches.