summaryrefslogtreecommitdiffstats
path: root/system/acpi_call
diff options
context:
space:
mode:
author Matteo Bernardini2019-05-01 09:57:15 +0200
committer Matteo Bernardini2019-05-01 09:57:15 +0200
commit1ea5e7f013581bee3512b5eb0a6f810b1578d6ba (patch)
tree7a81b0dc19351b9c924e08050c6be21fff8565cd /system/acpi_call
parenta7ecdbba095706df06b24afd23e97aaf57621fba (diff)
downloadslackbuilds-1ea5e7f013581bee3512b5eb0a6f810b1578d6ba.tar.gz
20190501.1 global branch merge.current-20190501.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