Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 216767 Details for
Bug 301318
x11-drivers/nvidia-drivers-190.53-r1 emerge fails when running sys-kernel/vanilla-sources-2.6.33_rc4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for x11-drivers/nvidia-drivers-190.53-r1 that fixes the issue
nvidia-190.53-2.6.33.patch (text/plain), 2.82 KB, created by
Richard
on 2010-01-17 22:34:19 UTC
(
hide
)
Description:
Patch for x11-drivers/nvidia-drivers-190.53-r1 that fixes the issue
Filename:
MIME Type:
Creator:
Richard
Created:
2010-01-17 22:34:19 UTC
Size:
2.82 KB
patch
obsolete
>Index: usr/src/nv/conftest.sh >=================================================================== >--- usr/src/nv/conftest.sh >+++ usr/src/nv/conftest.sh 2010-01-06 12:10:56.000000000 +0530 >@@ -32,14 +32,14 @@ > # CONFIG_XEN and CONFIG_PARAVIRT are present, text_xen() treats > # the kernel as a stand-alone kernel. > # >- FILE="linux/autoconf.h" >+ FILE="generated/autoconf.h" > > if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then > # > # We are looking at a configured source tree; verify > # that it's not a Xen kernel. > # >- echo "#include <linux/autoconf.h> >+ echo "#include <generated/autoconf.h> > #if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT) > #error CONFIG_XEN defined! > #endif >@@ -111,7 +111,12 @@ > fi > } > >-CONFTEST_PREAMBLE="#include <linux/autoconf.h> >+CONFTEST_PREAMBLE="#include <linux/version.h> >+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33) >+ #include <generated/autoconf.h> >+ #else >+ #include <linux/autoconf.h> >+ #endif > #if defined(CONFIG_XEN) && \ > defined(CONFIG_XEN_INTERFACE_VERSION) && !defined(__XEN_INTERFACE_VERSION__) > #define __XEN_INTERFACE_VERSION__ CONFIG_XEN_INTERFACE_VERSION >@@ -1294,7 +1299,7 @@ > echo ""; > fi > fi >- exit $RET >+# exit $RET > ;; > > get_uname) >@@ -1316,11 +1321,11 @@ > # tree or at headers shipped for a specific kernel. > # Determine the kernel version using a compile check. > # >- FILE="linux/utsrelease.h" >+ FILE="generated/utsrelease.h" > > if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then > echo "$CONFTEST_PREAMBLE >- #include <linux/utsrelease.h> >+ #include <generated/utsrelease.h> > int main() { > printf(\"%s\", UTS_RELEASE); > return 0; >@@ -1375,7 +1380,7 @@ > # > RET=1 > VERBOSE=$6 >- FILE="linux/autoconf.h" >+ FILE="generated/autoconf.h" > > if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then > # >@@ -1429,7 +1434,7 @@ > # > RET=1 > VERBOSE=$6 >- FILE="linux/autoconf.h" >+ FILE="generated/autoconf.h" > > if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then > # >Index: usr/src/nv/nvacpi.c >=================================================================== >--- usr/src/nv/nvacpi.c >+++ usr/src/nv/nvacpi.c 2010-01-06 12:10:56.000000000 +0530 >@@ -49,6 +49,10 @@ > }; > #endif > >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33) >+#define acpi_walk_namespace(a,b,c,d,e,f) acpi_walk_namespace(a,b,c,d,e,f,NULL) >+#endif >+ > static struct acpi_driver *nv_acpi_driver; > static acpi_handle nvif_handle = NULL; > static acpi_handle dsm_handle = NULL;
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 301318
:
216767
|
216768
|
221145
|
221323
|
233795