summaryrefslogtreecommitdiffstats
path: root/system/acpi_call
diff options
context:
space:
mode:
author Matteo Bernardini2018-10-06 08:26:41 +0200
committer Matteo Bernardini2018-10-06 08:26:41 +0200
commit389b3c43f33cdd25ba13cfc9b5ee1674106fbc13 (patch)
treedd8081a1bc6dbfeec30e68b4774b144864f2bef0 /system/acpi_call
parent4f4d6a32cce667ebff01e9d73878e4894c0328d4 (diff)
downloadslackbuilds-current-20181006.1.tar.gz
20181006.1 global branch merge.current-20181006.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/acpi_call')
-rw-r--r--system/acpi_call/acpi_call.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/acpi_call/acpi_call.SlackBuild b/system/acpi_call/acpi_call.SlackBuild
index 9be2bed29b..0271eae2d7 100644
--- a/system/acpi_call/acpi_call.SlackBuild
+++ b/system/acpi_call/acpi_call.SlackBuild
@@ -66,6 +66,9 @@ find -L . \
patch -p0 < $CWD/fix-acpi-include.patch
+# Fix build with Linux >= 4.12
+sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
+
make KDIR=$KERNELPATH
mkdir -p $PKG/lib/modules/$KERNEL/misc