Page MenuHomeFreeBSD

graphics/drm-*-kmod, graphics/nvidia-drm*-kmod*: fix build after src commit 9820afb99e6f on main branch
Needs ReviewPublic

Authored by junchoon_dec.sakura.ne.jp on Sat, Oct 17, 3:21 AM.
Tags
None
Referenced Files
F176330432: D60795.id.diff
Sat, Oct 17, 11:43 PM
F176330421: D60795.id190092.diff
Sat, Oct 17, 11:43 PM
F176330398: D60795.diff
Sat, Oct 17, 11:42 PM
F176282497: D60795.id190092.diff
Sat, Oct 17, 3:40 PM
Unknown Object (File)
Sat, Oct 17, 2:04 PM
Unknown Object (File)
Sat, Oct 17, 5:57 AM
Subscribers
None

Details

Reviewers
bz
dumbbell
manu
ashafer
kbowling
danfe
Group Reviewers
x11
Summary

Starting from commit base 9820afb99e6fdc471cb820f321530c52ed2c31ac,
graphics/drm-*-kmod, graphics/nvidia-drm*-kmod* starts failing build

error: 'opt_linuxkpi.h' file not found

32 | #include "opt_linuxkpi.h"
   |          ^~~~~~~~~~~~~~~~

in several places.

Fix builds by cherry-picking unmerged commitsseen in master
(development) branch of upstream drm-kmod,

https://github.com/freebsd/drm-kmod/commit/b6f7264f2e7dc6b2141f817f0374d88cd679d89a

introducing proposed fix at

https://github.com/freebsd/drm-kmod/pull/524

that relies on the commit.

Adapt NVIDIA counterparts with it, as it also fails once
depepding graphics/drm-*-kmod are fixed.

This is the temporary fix until upstream fixes the issue
and corresponding ports are updated. So this needs to be
reverted just before the fix lands onto ports tree.

At the same time, cleaned up version for NVIDIA counterpart
is needed to be committed, as patching to extracted drm-*-kmod
sourced should no longer needed, but NVIDIA specific parts are
still needed.

Reported by: O. Hartmann
Co-authored by: Jean-Sébastien Pédron
Co-authored by: Bjoern A. Zeeb
PR: 299334

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline