system/acpi_call: Fix for the newer kernels.
Thanks to giomat on LQ for reporting! Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
1f321d7129
commit
9c0961fd77
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue