Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 327318 Details for
Bug 439538
app-misc/lirc-0.9.0-r2 fails to compile on newer kernels: fatal error: asm/system.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the source code that removes the include for asm/system.h on newer kernels
lirc-0.9.0-kernel-3.5.0-fixes.patch (text/plain), 993 bytes, created by
Andrei Mihăilă
on 2012-10-24 18:16:12 UTC
(
hide
)
Description:
Patch for the source code that removes the include for asm/system.h on newer kernels
Filename:
MIME Type:
Creator:
Andrei Mihăilă
Created:
2012-10-24 18:16:12 UTC
Size:
993 bytes
patch
obsolete
>diff -rupN lirc-0.9.0/drivers/lirc_serial/lirc_serial.c lirc-0.9.0-patched/drivers/lirc_serial/lirc_serial.c >--- a/drivers/lirc_serial/lirc_serial.c 2011-03-26 00:28:18.000000000 +0200 >+++ b/drivers/lirc_serial/lirc_serial.c 2012-10-24 20:55:39.178143855 +0300 >@@ -66,7 +66,10 @@ > #include <linux/poll.h> > #include <linux/platform_device.h> > >+#include <linux/version.h> >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0) > #include <asm/system.h> >+#endif > #include <linux/io.h> > #include <linux/irq.h> > #include <linux/fcntl.h> >diff -rupN lirc-0.9.0/drivers/lirc_sir/lirc_sir.c b/drivers/lirc_sir/lirc_sir.c >--- a/drivers/lirc_sir/lirc_sir.c 2011-03-26 00:28:18.000000000 +0200 >+++ b/drivers/lirc_sir/lirc_sir.c 2012-10-24 20:30:53.856437848 +0300 >@@ -59,7 +59,9 @@ > #include <linux/mm.h> > #include <linux/delay.h> > #include <linux/poll.h> >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0) > #include <asm/system.h> >+#endif > #include <linux/io.h> > #include <asm/irq.h> > #include <linux/fcntl.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 439538
:
327316
| 327318 |
327320