aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/tp_smapi/files/fix_header_check.patch')
-rw-r--r--app-laptop/tp_smapi/files/fix_header_check.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-laptop/tp_smapi/files/fix_header_check.patch b/app-laptop/tp_smapi/files/fix_header_check.patch
new file mode 100644
index 0000000..97b6569
--- /dev/null
+++ b/app-laptop/tp_smapi/files/fix_header_check.patch
@@ -0,0 +1,19 @@
+*** Makefile.orig Mon Nov 23 08:55:42 2009
+--- Makefile Mon Nov 23 08:57:48 2009
+***************
+*** 27,33 ****
+
+ DEBUG := 0
+
+! ifneq ($(shell [ -f $(KBUILD)/include/linux/aio_abi.h ] && echo 1),1)
+ $(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
+ $(warning You may need to override the following Make variables:)
+ $(warning . KVER=$(KVER))
+--- 27,33 ----
+
+ DEBUG := 0
+
+! ifneq ($(shell [ -f $(KSRC)/include/linux/aio_abi.h ] && echo 1),1)
+ $(warning Building tp_smapi requires Linux kernel 2.6.19 or newer, and matching kernel headers.)
+ $(warning You may need to override the following Make variables:)
+ $(warning . KVER=$(KVER))