Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290371 Details for
Bug 379685
=x11-drivers/nvidia-drivers-270.41.19 linux-3 patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for nvidia-drivers-270.41.19 to build on linux-3.*
nvidia-linux-3.patch (text/plain), 992 bytes, created by
Marco Leogrande
on 2011-10-20 14:14:53 UTC
(
hide
)
Description:
Patch for nvidia-drivers-270.41.19 to build on linux-3.*
Filename:
MIME Type:
Creator:
Marco Leogrande
Created:
2011-10-20 14:14:53 UTC
Size:
992 bytes
patch
obsolete
>--- work-OLD/kernel/conftest.sh 2011-05-30 19:41:31.000000000 -0700 >+++ work-NEW/kernel/conftest.sh 2011-05-30 19:47:23.000000000 -0700 >@@ -76,7 +76,9 @@ > } > > build_cflags() { >- BASE_CFLAGS="-D__KERNEL__ \ >+ # Adding -Os optimizer option to work around rcupdate.h compiler bug, see here: >+ # http://choon.net/forum/read.php?21,82725 >+ BASE_CFLAGS="-Os -D__KERNEL__ \ > -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \ > -nostdinc -isystem $ISYSTEM" > >--- work-OLD/kernel/nv-linux.h 2011-05-16 23:32:19.000000000 -0700 >+++ work-NEW/kernel/nv-linux.h 2011-05-30 19:46:06.000000000 -0700 >@@ -34,6 +34,9 @@ > # error This driver does not support 2.5 kernels! > #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0) > # define KERNEL_2_6 >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0) >+/* For compatibility, pretend all kernels 3.0.0 and higher are "2.6" */ >+# define KERNEL_2_6 > #else > # error This driver does not support development kernels! > #endif
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 379685
:
283993
| 290371