diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-09-12 14:02:27 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:05:13 -0500 |
commit | 9c0961fd7749f0819bfbf6c282e5bef29b37b7fd (patch) | |
tree | 87f97ce706255a496ba411bc7e18a4b419bcc6d8 | |
parent | 1f321d7129d2b72e74dc10d7e9a9fdc1c36cda6d (diff) | |
download | slackbuilds-9c0961fd7749f0819bfbf6c282e5bef29b37b7fd.tar.gz |
system/acpi_call: Fix for the newer kernels.
Thanks to giomat on LQ for reporting!
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 cbba19ee17..61e7be7220 100644 --- a/system/acpi_call/acpi_call.SlackBuild +++ b/system/acpi_call/acpi_call.SlackBuild @@ -67,6 +67,9 @@ find -L . \ patch -p0 < $CWD/fix-acpi-include.patch patch -p0 < $CWD/fix-5.x-kernel.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 |