First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 51701
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ed Catmur <ed@catmur.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
2.6-kernel-headers.patch 2.6-kernel-headers.patch patch Ed Catmur 2004-05-23 19:48 0000 1.33 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51701 depends on: Show dependency tree
Bug 51701 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-21 15:22 0000
lnx_kbd.c: In function `KDKBDREP_ioctl_ok':
lnx_kbd.c:110: error: structure has no member named `rate'
lnx_kbd.c:118: error: structure has no member named `rate'
lnx_kbd.c:120: error: structure has no member named `rate'
lnx_kbd.c:121: error: structure has no member named `rate'
lnx_kbd.c:122: error: structure has no member named `rate'
make[1]: *** [lnx_kbd.o] Error 1

The struct member `rate' has been renamed to `period'.

Yes, I know that 2.6 headers are as yet unsupported, but some people need or want to use them, and patching this will not affect those on 2.4 headers.

The source contains a partial workaround to the problem which fails because
a) it fails to include linux/version.h
b) it is applied only in lnx_io.c, it is also needed in lnx_kbd.c

The patch fixes and extends the existing workaround.

------- Comment #1 From Tim Yamin (RETIRED) 2004-05-23 12:00:02 0000 -------
Patch, please? :-)

------- Comment #2 From Ed Catmur 2004-05-23 19:48:11 0000 -------
Created an attachment (id=31920) [details]
2.6-kernel-headers.patch

Oops. Coulda sworn... *^_^*

------- Comment #3 From Tim Yamin (RETIRED) 2004-05-24 09:15:41 0000 -------
Patch looks good codewise here - Daniel, since you seem to be maintaining this
could you add this in? Thanks!

------- Comment #4 From Tuan Van (RETIRED) 2004-05-24 16:13:59 0000 -------
Please add the patch in bug #51601 for those people using gcc-3.4.o like me.
Thanks.

------- Comment #5 From Daniel Ahlberg (RETIRED) 2004-05-24 16:30:48 0000 -------
In CVS, thanks!

First Last Prev Next    No search results available      Search page      Enter new bug