Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160386 Details for
Bug 231809
sys-apps/pcfclock-0.44-r3: Emerge fails with kernel 2.6.26
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for kernel 2.6.26
pcfclock-0.44-kernel-2.6.26.diff (text/plain), 1.03 KB, created by
Robert Schedel
on 2008-07-14 21:17:04 UTC
(
hide
)
Description:
Patch for kernel 2.6.26
Filename:
MIME Type:
Creator:
Robert Schedel
Created:
2008-07-14 21:17:04 UTC
Size:
1.03 KB
patch
obsolete
>diff -rupN pcfclock-0.44-orig/linux/pcfclock.c pcfclock-0.44/linux/pcfclock.c >--- pcfclock-0.44-orig/linux/pcfclock.c 2008-07-14 22:36:15.000000000 +0200 >+++ pcfclock-0.44/linux/pcfclock.c 2008-07-14 22:47:10.000000000 +0200 >@@ -98,7 +98,13 @@ struct pcfclock_struct { > > static struct pcfclock_struct pcfclock_table[PCFCLOCK_NO]; > >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) >+# define CLASS_CREATE(owner, name) class_create(owner, name) >+# define CLASS_DESTROY(class) class_destroy(class) >+# define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) device_create(class, device, dev, fmt, rest) >+# define CLASS_DEVICE_DESTROY(class, dev) device_destroy(class, dev) >+static struct class *pcfclock_class; >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) > # define CLASS_CREATE(owner, name) class_create(owner, name) > # define CLASS_DESTROY(class) class_destroy(class) > # define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) class_device_create(class, NULL, dev, device, fmt, rest)
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 231809
: 160386