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

Bug 557052

Summary: media-libs/svgalib-1.9.25 file structure changes in kernel prevent emerging
Product: Gentoo Linux Reporter: Diego Moimas <diego.moimas>
Component: [OLD] LibraryAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: autobuilds   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to be applied after other ebuild patches

Description Diego Moimas 2015-08-08 16:54:52 UTC
Created attachment 408552 [details, diff]
Patch to be applied after other ebuild patches

Can't emerge media-libs/svgalib on kernel 4.0.5, error on svgalib-helper kernel module. 

No more f_dentry on file struct.

Resolved patching file (...)work/svgalib-1.9.25/kernel/svgalib_helper/main.c with attached patch.


Emerge info: https://www.dropbox.com/s/74gxbfr0kmt6onl/emerge.info?dl=0
Comment 1 Andrew Savchenko gentoo-dev 2015-08-13 14:13:15 UTC
Diego, what about backwards compatibility of this patch?
Since what kernel versions file_inode() function appeared?
Comment 2 Alessandro Barbieri 2016-02-21 21:52:49 UTC
I have this bug too.
Comment 3 Andrew Savchenko gentoo-dev 2016-02-22 09:04:25 UTC
Fixed in the tree. (No revision bump here, please resync to update.)

file_inode() appeared in 3.9.0, so kernel version check ifdefs are added.