Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24768 Details for
Bug 40104
xfree-4.3.0-r3 broken with 2.6 linux-headers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix files lnx_kbd.c and lnx_io.c
9020_all_4.3.0-fix-2.5-headers-rate-period.patch (text/plain), 1.31 KB, created by
Sami Samhuri
on 2004-02-01 11:23:43 UTC
(
hide
)
Description:
patch to fix files lnx_kbd.c and lnx_io.c
Filename:
MIME Type:
Creator:
Sami Samhuri
Created:
2004-02-01 11:23:43 UTC
Size:
1.31 KB
patch
obsolete
>--- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c.orig 2003-12-26 18:02:02.000000000 +0100 >+++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c 2003-12-26 18:04:34.000000000 +0100 >@@ -93,11 +93,20 @@ > /* kbd rate stuff based on kbdrate.c from Rik Faith <faith@cs.unc.edu> et.al. > * from util-linux-2.9t package */ > >+#include <linux/kd.h> >+#include <linux/version.h> > #ifdef __sparc__ > #include <asm/param.h> > #include <asm/kbio.h> > #endif > >+/* Deal with spurious kernel header change */ >+#if defined(LINUX_VERSION_CODE) && defined(KERNEL_VERSION) >+# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,42) >+# define rate period >+# endif >+#endif >+ > static int > KDKBDREP_ioctl_ok(int rate, int delay) { > #if defined(KDKBDREP) && !defined(__sparc__) >@@ -159,6 +168,8 @@ > #endif /* KIOCSRATE */ > } > >+#undef rate >+ > static void > SetKbdRepeat(InputInfoPtr pInfo, char rad) > { >--- xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c.orig 2003-12-26 18:19:59.980207940 +0100 >+++ xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c 2003-12-26 16:57:40.000000000 +0100 >@@ -67,6 +67,7 @@ > * from util-linux-2.9t package */ > > #include <linux/kd.h> >+#include <linux/version.h> > #ifdef __sparc__ > #include <asm/param.h> > #include <asm/kbio.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 40104
:
24767
| 24768 |
24791