]> git.draconx.ca Git - gentoo-draconx.git/blob - app-laptop/tp_smapi/files/tp_smapi-fix-vercheck.patch
tp_smapi: Fix build on 2.6.37.
[gentoo-draconx.git] / app-laptop / tp_smapi / files / tp_smapi-fix-vercheck.patch
1 diff -Naur a/Makefile b/Makefile
2 --- a/Makefile  2008-12-16 05:03:06.000000000 +0000
3 +++ b/Makefile  2009-01-15 02:47:01.000000000 +0000
4 @@ -27,7 +27,7 @@
5  
6  DEBUG := 0
7  
8 -ifneq ($(shell [ -f $(KBUILD)/include/linux/aio_abi.h ] && echo 1),1)
9 +ifneq ($(shell [ -f $(KSRC)/include/linux/aio_abi.h ] && echo 1),1)
10  $(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
11  $(warning You may need to override the following Make variables:)
12  $(warning .   KVER=$(KVER))