Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133276 Details for
Bug 195632
media-libs/svgalib-1.9.25 helper fails to build with 2.6.23 sources.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the kernel API change
unregister_chrdev.patch (text/plain), 1001 bytes, created by
Pablo De Nápoli
on 2007-10-13 02:23:08 UTC
(
hide
)
Description:
patch for the kernel API change
Filename:
MIME Type:
Creator:
Pablo De Nápoli
Created:
2007-10-13 02:23:08 UTC
Size:
1001 bytes
patch
obsolete
>*** ./svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h.orig Fri Oct 12 22:14:40 2007 >--- ./svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h Fri Oct 12 22:43:17 2007 >*************** >*** 70,75 **** >--- 70,76 ---- > > /* These are also not present in 2.6 kernels ... */ > #if (!defined _LINUX_DEVFS_FS_KERNEL_H) || (defined KERNEL_2_6) >+ #include <linux/fs.h> > static inline int devfs_register_chrdev (unsigned int major, const char *name, > struct file_operations *fops) > { >*************** >*** 77,83 **** > } > static inline int devfs_unregister_chrdev (unsigned int major,const char *name) > { >! return unregister_chrdev (major, name); > } > #endif > >--- 78,89 ---- > } > static inline int devfs_unregister_chrdev (unsigned int major,const char *name) > { >! #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) >! return unregister_chrdev (major, name); >! #else >! unregister_chrdev (major, name); >! return 0; >! #endif > } > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195632
:
133276
|
133278
|
133463
|
133540