summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2018-04-04 09:02:47 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-08-07 23:41:19 +0200
commit7c4e5cbe228dd25b6516420cec8b2d874c111146 (patch)
treed50c9e00473f3619eef0d22cb7329ad13cbeec52 /sys-power/acpi_call/files
parentsys-power/acpi_call: move to another upstream git repo. (diff)
downloadgentoo-7c4e5cbe228dd25b6516420cec8b2d874c111146.tar.gz
gentoo-7c4e5cbe228dd25b6516420cec8b2d874c111146.tar.bz2
gentoo-7c4e5cbe228dd25b6516420cec8b2d874c111146.zip
sys-power/acpi_call: version bump to 3.17.
Signed-off-by: Henning Schild <henning@hennsch.de>
Diffstat (limited to 'sys-power/acpi_call/files')
-rw-r--r--sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch12
-rw-r--r--sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch14
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch b/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch
new file mode 100644
index 000000000000..ac64ba5efaf3
--- /dev/null
+++ b/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch
@@ -0,0 +1,12 @@
+diff --git a/acpi_call.c b/acpi_call.c
+index 35bfe12..c059511 100644
+--- a/acpi_call.c
++++ b/acpi_call.c
+@@ -7,6 +7,7 @@
+ #include <linux/proc_fs.h>
+ #include <linux/slab.h>
+ #include <asm/uaccess.h>
++#include <linux/uaccess.h>
+
+ MODULE_LICENSE("GPL");
+
diff --git a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch b/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch
new file mode 100644
index 000000000000..ddea4fafc695
--- /dev/null
+++ b/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch
@@ -0,0 +1,14 @@
+diff --git a/acpi_call.c b/acpi_call.c
+index c059511..b622bf7 100644
+--- a/acpi_call.c
++++ b/acpi_call.c
+@@ -6,7 +6,9 @@
+ #include <linux/version.h>
+ #include <linux/proc_fs.h>
+ #include <linux/slab.h>
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
+ #include <asm/uaccess.h>
++#endif
+ #include <linux/uaccess.h>
+
+ MODULE_LICENSE("GPL");