summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-12-18 23:59:14 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2017-12-19 00:03:08 -0600
commit6fdc2df80c7113561a7ef699991f353ab71c139b (patch)
tree454f54b771ff218992e2c4920303015321fecfbe /sys-power/acpi_call
parentapp-text/aspell: amd64 stable (diff)
downloadgentoo-6fdc2df80c7113561a7ef699991f353ab71c139b.tar.gz
gentoo-6fdc2df80c7113561a7ef699991f353ab71c139b.tar.bz2
gentoo-6fdc2df80c7113561a7ef699991f353ab71c139b.zip
sys-power/acpi_call: fix acpi_call for 4.14 kernels
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'sys-power/acpi_call')
-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>