summaryrefslogtreecommitdiffstats
path: root/system/acpi_call/acpi_call.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-12-31 15:55:40 +0100
committer Matteo Bernardini2019-12-31 15:55:40 +0100
commit30778e822d6ef153cd8936acaa45deeeb8f5374a (patch)
tree9605719730f63b62fb4e9c22167b36c60ceb950f /system/acpi_call/acpi_call.SlackBuild
parent82bbd880da5d554ddb98a82fcf8c17cc2131d56a (diff)
downloadslackbuilds-09a5bf3404bab1e2761ed811c0f3c63e2bc4573c.tar.gz
20191231.1 global branch merge.current-20191231.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/acpi_call/acpi_call.SlackBuild')
-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