Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable DVB support to fix building against linux 5.14 headers #17

Closed
wants to merge 1 commit into from
Closed

Conversation

decathorpe
Copy link

This change fixes building MPV on Fedora 35+ (and will probably have to be backported to Fedora 34 as well, once the kernel is updated to 5.14 there too).

The /usr/include/linux/dvb/video.h header file has been (re)moved, with the DVB drivers having been moved to the staging tree. A similar change has already been pushed to RPMFusion:

https://pkgs.rpmfusion.org/cgit/free/mpv.git/commit/?id=3a4f1a953af326e25e733c0833e33fe226442945

This change fixes building MPV on Fedora 35+ (and will probably have
to be backported to Fedora 34 as well, once the kernel is updated
to 5.14 there too).

The /usr/include/linux/dvb/video.h header file has been (re)moved,
with the DVB drivers having been moved to the staging tree.
@jp7677
Copy link
Contributor

jp7677 commented Sep 22, 2021

Oh, this is very unfortunate. There seem to be no upstream fix in mpv yet as far as I'm seeing it :(

@decathorpe
Copy link
Author

It seems the issue has also not yet been reported upstream, so I've done that now:
mpv-player/mpv#9233

@jp7677
Copy link
Contributor

jp7677 commented Sep 22, 2021

There is now a PR (merged) that just removed the no longer available includes, seems like those weren’t needed anyway. Pulling that commit (mpv-player/mpv@5bf92b6 ) downstream here is a better alternative until a new mpv release arrives.
See mpv-player/mpv#9234

@decathorpe
Copy link
Author

I think cherry-picking the obvious patch from upstream is a better idea than to disable the functionality, so I'll close my PR. :)

@decathorpe decathorpe closed this Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants