summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f7336542a498..d888095f3f89 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=acpi_call-dkms
pkgver=1.1.0
-pkgrel=6
+pkgrel=7
pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
arch=('any')
url='https://github.com/mkottman/acpi_call'
@@ -24,6 +24,9 @@ prepare() {
# Fix build with Linux >= 3.17
sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
+ # Fix build with Linux >= 4.12
+ sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
+
# create dkms.conf
cat > dkms.conf <<EOF
# Linux DKMS config script for acpi_call