From: Matthew Thode Date: Tue, 19 Dec 2017 05:59:14 +0000 (-0600) Subject: sys-power/acpi_call: fix acpi_call for 4.14 kernels X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6fdc2df80c7113561a7ef699991f353ab71c139b;p=gentoo.git sys-power/acpi_call: fix acpi_call for 4.14 kernels Package-Manager: Portage-2.3.14, Repoman-2.3.6 --- 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 + #include + #include +-#include + #include + #include