Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36022 Details for
Bug 58093
app-laptop/i8kutils-1.17-r1 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch on i8kutils source code
i8kutils-1.17-i8k.patch (text/plain), 1.06 KB, created by
Karol Wojtaszek (RETIRED)
on 2004-07-23 10:29:49 UTC
(
hide
)
Description:
patch on i8kutils source code
Filename:
MIME Type:
Creator:
Karol Wojtaszek (RETIRED)
Created:
2004-07-23 10:29:49 UTC
Size:
1.06 KB
patch
obsolete
>--- i8k.h.orig 2001-11-21 12:55:26.000000000 +0100 >+++ i8k.h 2003-12-18 03:59:35.000000000 +0100 >@@ -20,14 +20,14 @@ > #define I8K_PROC "/proc/i8k" > #define I8K_PROC_FMT "1.0" > >-#define I8K_BIOS_VERSION _IOR ('i', 0x80, 4) >-#define I8K_MACHINE_ID _IOR ('i', 0x81, 16) >-#define I8K_POWER_STATUS _IOR ('i', 0x82, sizeof(int)) >-#define I8K_FN_STATUS _IOR ('i', 0x83, sizeof(int)) >-#define I8K_GET_TEMP _IOR ('i', 0x84, sizeof(int)) >-#define I8K_GET_SPEED _IOWR('i', 0x85, sizeof(int)) >-#define I8K_GET_FAN _IOWR('i', 0x86, sizeof(int)) >-#define I8K_SET_FAN _IOWR('i', 0x87, sizeof(int)*2) >+#define I8K_BIOS_VERSION _IOR ('i', 0x80, int) /* broken: meant 4 bytes */ >+#define I8K_MACHINE_ID _IOR ('i', 0x81, int) /* broken: meant 16 bytes */ >+#define I8K_POWER_STATUS _IOR ('i', 0x82, size_t) >+#define I8K_FN_STATUS _IOR ('i', 0x83, size_t) >+#define I8K_GET_TEMP _IOR ('i', 0x84, size_t) >+#define I8K_GET_SPEED _IOWR('i', 0x85, size_t) >+#define I8K_GET_FAN _IOWR('i', 0x86, size_t) >+#define I8K_SET_FAN _IOWR('i', 0x87, size_t) > > #define I8K_FAN_LEFT 1 > #define I8K_FAN_RIGHT 0
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 58093
: 36022