diff options
author | Matteo Bernardini | 2020-05-23 08:12:52 +0200 |
---|---|---|
committer | Matteo Bernardini | 2020-05-23 08:12:52 +0200 |
commit | 9b91bf41a9b6c2933b7757536fc9944e643602bf (patch) | |
tree | fb675a32bf315d68d76a87ac30b339d2f95fb5bd /system/acpi_call/acpi_call.SlackBuild | |
parent | ed0074d03fdb30fde2ae0f56100c935d31cefbb8 (diff) | |
download | slackbuilds-9b91bf41a9b6c2933b7757536fc9944e643602bf.tar.gz |
20200523.1 global branch merge.current-20200523.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.SlackBuild | 3 |
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 |