[Bug 289647] graphics/drm-61-kmod: X11 with nvidia-drm-61-kmod fails to start after commit ac934345a14f

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

--- Comment #52 from Tomoaki AOKI <[email protected]> ---
(In reply to Bjoern A. Zeeb from comment #51)
We kill the version check routine in upstream tarball to disallow building on
main in generic way like below.

# We should support -CURRENT: kill the check (first #if __FreeBSD_version)
        linenum=$$(${SED} -ne '/^#if __FreeBSD_version/ { = ; q ; }' \
                ${WRKSRC}/src/${NVSRC}/nv-freebsd.h) ; ${REINPLACE_CMD} \
                -e "$$linenum,+2d" ${WRKSRC}/src/${NVSRC}/nv-freebsd.h

This is in the Makefile of x11/nvidia-driver (would move to x11/nvidia-kmod
once review D52178 lands).

  https://cgit.freebsd.org/ports/tree/x11/nvidia-driver/Makefile#n181

So it should still work (I cannot take time to switch to main recently, though)
unless some KPI breakages are introduced.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee 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.