Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 581450

Summary: v4l-dvb-saa716x-0.~20141109-r2 with kernel 4.5.2: doesn't compile?
Product: Gentoo Linux Reporter: harry broeken <harry.broeken>
Component: Current packagesAssignee: Martin Dummer <martin.dummer>
Status: RESOLVED FIXED    
Severity: major CC: hd_brummy, martin.dummer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: set number of demux-sinks to 1
include processor-definitions
new ebuild v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20160322
files/v4l-dvb-saa716x-4.5.2-fix-compile.patch

Description harry broeken 2016-04-28 14:32:37 UTC
Couldn't compile v4l-dvb-saa716x with kernel 4.5.2.; after which I couldn't use my satellite pci-card. I got it compiled after creating two patches; as a kind of temporal solution; it seems to work this way for my setup. It probably has 
something to do with changes in definitions in the kernel, I am not sure to which versions this aplies after 4.2.
Added epatch "${FILESDIR}/pci.patch"
      epatch "${FILESDIR}/ff_main.patch"
to the src_prepare() in the ebuild. pci.patch includes processor-definitions and
ff_main.pathc deals with a change in dvd_register_device; where I use 1 for the number of demux-sinks (I do not know if this is correct; but it seems to work).


Reproducible: Always
Comment 1 harry broeken 2016-04-28 14:34:45 UTC
Created attachment 432436 [details, diff]
set number of demux-sinks to 1
Comment 2 harry broeken 2016-04-28 14:35:34 UTC
Created attachment 432438 [details, diff]
include processor-definitions
Comment 3 Martin Dummer 2016-05-01 08:15:16 UTC
I comfirm that the problem exists, I check upstream for a fix an test it.
Comment 4 Martin Dummer 2016-05-01 16:01:19 UTC
Hello hd_brummy,

please add new ebuild consisting of

v4l-dvb-saa716x-0.0.1_p20160322.ebuild
files/v4l-dvb-saa716x-4.5.2-fix-compile.patch

which you can find in attachments.
Comment 5 Martin Dummer 2016-05-01 16:02:59 UTC
Created attachment 432852 [details]
new ebuild v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20160322
Comment 6 Martin Dummer 2016-05-01 16:03:56 UTC
Created attachment 432854 [details]
files/v4l-dvb-saa716x-4.5.2-fix-compile.patch
Comment 7 Joerg Bornkessel (RETIRED) gentoo-dev 2016-05-05 20:53:41 UTC
bugs should be stay open,
until fixes are not added to the tree...
Comment 8 Joerg Bornkessel (RETIRED) gentoo-dev 2016-05-05 21:10:21 UTC
fix added to the tree

thx...