summaryrefslogtreecommitdiffstats
path: root/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch
diff options
context:
space:
mode:
authorgeantbrun <geantbrun at gmail dot com>2010-11-14 21:59:19 +0100
committergeantbrun <geantbrun at gmail dot com>2010-11-14 21:59:19 +0100
commit3ab55f011ef4890a7539edd4e27c04e2fbe8954e (patch)
tree08f87163a943b55dc85114e440d694e9dd452c47 /acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch
parent40b114afcd34dd9ccf216a1f7b157271d450764b (diff)
downloadnutyx-extra-3ab55f011ef4890a7539edd4e27c04e2fbe8954e.tar.gz
nutyx-extra-3ab55f011ef4890a7539edd4e27c04e2fbe8954e.tar.bz2
nutyx-extra-3ab55f011ef4890a7539edd4e27c04e2fbe8954e.tar.xz
nutyx-extra-3ab55f011ef4890a7539edd4e27c04e2fbe8954e.zip
acerhk, nouveau port version 0.5.35-1
Diffstat (limited to 'acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch')
-rw-r--r--acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch b/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch
new file mode 100644
index 000000000..033c94989
--- /dev/null
+++ b/acompiler/acerhk/acerhk-0.5.35-kernelversion-01.patch
@@ -0,0 +1,12 @@
+diff -Naur acerhk-0.5.35/Makefile acerhk-0.5.35-new/Makefile
+--- acerhk-0.5.35/Makefile 2006-08-16 11:11:08.000000000 -0500
++++ acerhk-0.5.35-new/Makefile 2010-04-09 15:59:40.000000000 -0500
+@@ -3,7 +3,7 @@
+ #KERNELSRC=/usr/src/linux
+ KERNELSRC?=/lib/modules/`uname -r`/build
+ # Starting with 2.6.18, the kernel version is in utsrelease.h instead of version.h, accomodate both cases
+-KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))
++KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/generated/utsrelease.h))
+ KERNELMAJOR=$(shell echo $(KERNELVERSION)|head -c3)
+
+ # next line is for kernel 2.6, if you integrate the driver in the kernel tree