[Bug 294096] graphics/nvidia-drm-66-kmod unbuildable ISO C99 and later do not support implicit function declarations

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294096

--- Comment #11 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=a92d927574fca313453ae266f4e78517eb406a33

commit a92d927574fca313453ae266f4e78517eb406a33
Author:     Tomoaki AOKI <[email protected]>
AuthorDate: 2026-04-03 20:44:48 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-04-03 20:46:30 +0000

    graphics/nvidia-drm-*-kmod*: Fix build for 13.5, 14.3 and 15.0

    Latest upgrade to 595.58.03 caused build failure as of
    requirements for a stub function pm_vt_switch_required().

    The commit introduced it is not MFC'ed to 13.5-RELEASE,
    stable/13, 14.3-RELEASE and 15.0-RELEASE and unlikely
    to be done as it's not a security fix, more, stable/13 is going
    to be EoL'ed in 1 month.

    As this function, defined in sys/compat/linuxkpi/common/linux/pm.h,
    is still a blank, stub function even on main, drop the offending line
    for affected versions, keeping as-is for versions which has it.

    No PORTREVISION bumps, as this is build fix.

    PR:             294096
    Reported by:    [email protected]
    Reviewed by:    ashafer
    MFH:            2026Q2
    Differential Revision:  https://reviews.freebsd.org/D56214

 graphics/nvidia-drm-kmod/Makefile.common | 4 ++++
 1 file changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.