x11-drivers/nvidia-drivers-195.30: readd patch
authorFabian Fingerle <fabian@datensalat.eu>
Sun, 31 Jan 2010 19:28:06 +0000 (31 20:28 +0100)
committerFabian Fingerle <fabian@datensalat.eu>
Sun, 31 Jan 2010 19:28:06 +0000 (31 20:28 +0100)
x11-drivers/nvidia-drivers/files/NVIDIA_arch.patch [new file with mode: 0644]

diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_arch.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_arch.patch
new file mode 100644 (file)
index 0000000..dc794be
--- /dev/null
@@ -0,0 +1,12 @@
+--- usr/src/nv/makefile.org     2009-11-26 20:42:38.000000000 +0100
++++ usr/src/nv/makefile 2009-11-26 20:43:07.000000000 +0100
+@@ -37,9 +37,7 @@
+CC ?= cc
+HOST_CC ?= $(CC)
+
+-ifndef ARCH
+- ARCH := $(shell uname -m | sed -e 's/i.86/i386/')
+-endif
++ARCH = $(shell uname -m | sed -e 's/i.86/i386/')
+
+CONFTEST := sh ./conftest.sh "$(CC)" "$(HOST_CC)" $(ARCH) $(KERNEL_SOURCES) $(KERNEL_OUTPUT)