Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 133540 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 (diff -u version)
unregister_chrdev.patch (text/plain), 851 bytes, created by
Pablo De Nápoli
on 2007-10-15 14:13:52 UTC
(
hide
)
Description:
patch for the kernel API change (diff -u version)
Filename:
MIME Type:
Creator:
Pablo De Nápoli
Created:
2007-10-15 14:13:52 UTC
Size:
851 bytes
patch
obsolete
>--- ./work/svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h.orig 2007-10-12 22:14:40.000000000 -0300 >+++ ./work/svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h 2007-10-12 22:43:17.000000000 -0300 >@@ -70,6 +70,7 @@ > > /* 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,7 +78,12 @@ > } > static inline int devfs_unregister_chrdev (unsigned int major,const char *name) > { >- return unregister_chrdev (major, name); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) >+ 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