commit: 6fdc2df80c7113561a7ef699991f353ab71c139b
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 19 05:59:14 2017 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 06:03:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fdc2df8
sys-power/acpi_call: fix acpi_call for 4.14 kernels
Package-Manager: Portage-2.3.14, Repoman-2.3.6
sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild | 1 +
sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch | 9 +++++++++
2 files changed, 10 insertions(+)
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 711fd3f5d64..3b3733ffcc8 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 00000000000..f6956163734
--- /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>