summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/nvidia-drivers-190.53-2.6.33.patch')
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-drivers-190.53-2.6.33.patch92
1 files changed, 0 insertions, 92 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-drivers-190.53-2.6.33.patch b/x11-drivers/nvidia-drivers/files/nvidia-drivers-190.53-2.6.33.patch
deleted file mode 100644
index 75daad3..0000000
--- a/x11-drivers/nvidia-drivers/files/nvidia-drivers-190.53-2.6.33.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-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;
-