summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild1
-rw-r--r--sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch9
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild b/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild
index 711fd3f5d64d..3b3733ffcc83 100644
--- a/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild
+++ b/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild
@@ -29,6 +29,7 @@ BUILD_TARGETS="default"
PATCHES=(
"${FILESDIR}/${P}-linux-3.17.patch"
"${FILESDIR}/${P}-linux-4.12.patch"
+ "${FILESDIR}/${P}-linux-4.14.patch"
)
src_compile(){
diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch
new file mode 100644
index 000000000000..f69561637344
--- /dev/null
+++ b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch
@@ -0,0 +1,9 @@
+--- acpi_call-1.1.0.orig/acpi_call.c 2017-11-24 22:30:59.000000000 +0100
++++ acpi_call-1.1.0/acpi_call.c 2017-11-24 22:30:01.000000000 +0100
+@@ -5,7 +5,6 @@
+ #include <linux/version.h>
+ #include <linux/proc_fs.h>
+ #include <linux/slab.h>
+-#include <asm/uaccess.h>
+ #include <linux/uaccess.h>
+ #include <linux/acpi.h>