sys-power/acpi_call: fix acpi_call for 4.14 kernels
authorMatthew Thode <prometheanfire@gentoo.org>
Tue, 19 Dec 2017 05:59:14 +0000 (23:59 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Tue, 19 Dec 2017 06:03:08 +0000 (00:03 -0600)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild
sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch [new file with mode: 0644]

index 711fd3f5d64da7eba5a6bd453abba8bbe2e26e8e..3b3733ffcc83488cccc89ad65044322aa015404f 100644 (file)
@@ -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 (file)
index 0000000..f695616
--- /dev/null
@@ -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>