Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21733 Details for
Bug 35088
eject-2.0.13 compilation error on kernel 2.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to properly define __KERNEL__
eject-2.0.13-kernel25-support.patch (text/plain), 447 bytes, created by
jack_mort
on 2003-12-05 01:42:07 UTC
(
hide
)
Description:
Patch to properly define __KERNEL__
Filename:
MIME Type:
Creator:
jack_mort
Created:
2003-12-05 01:42:07 UTC
Size:
447 bytes
patch
obsolete
>--- eject.c.orig 2002-12-09 22:28:08.000000000 +0000 >+++ eject.c 2003-11-08 17:06:43.000000000 +0000 >@@ -58,7 +58,13 @@ > #include <sys/ioctl.h> > #include <sys/wait.h> > #include <sys/mtio.h> >-#include <linux/types.h> >+#ifndef __KERNEL__ >+# define __KERNEL__ >+# include <linux/types.h> >+# undef __KERNEL__ >+#else >+# include <linux/types.h> >+#endif > #include <linux/cdrom.h> > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) > #include <linux/ucdrom.h>
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 35088
: 21733