diff options
author | 2021-01-17 14:05:45 +0100 | |
---|---|---|
committer | 2021-01-17 14:07:19 +0100 | |
commit | 3c83bf74ca1b76d744159a10d833097b7aa763b8 (patch) | |
tree | c3f0e50574bbb05fc7b265e8499491a471d12534 /sys-power/acpi_call/files | |
parent | sys-power/acpi_call: update live ebuild (diff) | |
download | gentoo-3c83bf74ca1b76d744159a10d833097b7aa763b8.tar.gz gentoo-3c83bf74ca1b76d744159a10d833097b7aa763b8.tar.bz2 gentoo-3c83bf74ca1b76d744159a10d833097b7aa763b8.zip |
sys-power/acpi_call: drop old versions
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-power/acpi_call/files')
6 files changed, 0 insertions, 107 deletions
diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch deleted file mode 100644 index 0db7d37e2fa6..000000000000 --- a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-3.17.patch +++ /dev/null @@ -1,26 +0,0 @@ -From c5b7a4bf93a28e6ce68beb54b48d3745db943e54 Mon Sep 17 00:00:00 2001 -From: Christoph Junghans <junghans@gentoo.org> -Date: Mon, 27 Oct 2014 21:57:10 -0600 -Subject: [PATCH] fix build with linux-3.17 - -https://bugs.gentoo.org/show_bug.cgi?id=524614 ---- - acpi_call.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/acpi_call.c b/acpi_call.c -index 3025d97..fa4f2c6 100644 ---- a/acpi_call.c -+++ b/acpi_call.c -@@ -6,7 +6,7 @@ - #include <linux/proc_fs.h> - #include <linux/slab.h> - #include <asm/uaccess.h> --#include <acpi/acpi.h> -+#include <linux/acpi.h> - - MODULE_LICENSE("GPL"); - --- -2.0.4 - diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch deleted file mode 100644 index ef9fde9f2958..000000000000 --- a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- acpi_call-1.1.0.orig/acpi_call.c 2017-07-03 22:44:38.111270788 +0200 -+++ acpi_call-1.1.0/acpi_call.c 2017-07-03 22:44:31.010270815 +0200 -@@ -6,6 +6,7 @@ - #include <linux/proc_fs.h> - #include <linux/slab.h> - #include <asm/uaccess.h> -+#include <linux/uaccess.h> - #include <linux/acpi.h> - - MODULE_LICENSE("GPL"); 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 deleted file mode 100644 index f69561637344..000000000000 --- a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.14.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- 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> 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 deleted file mode 100644 index ac64ba5efaf3..000000000000 --- a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.12.patch +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index ddea4fafc695..000000000000 --- a/sys-power/acpi_call/files/acpi_call-3.17-linux-4.14.patch +++ /dev/null @@ -1,14 +0,0 @@ -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"); diff --git a/sys-power/acpi_call/files/acpi_call-3.17-linux-5.6.patch b/sys-power/acpi_call/files/acpi_call-3.17-linux-5.6.patch deleted file mode 100644 index c05c7e3c337e..000000000000 --- a/sys-power/acpi_call/files/acpi_call-3.17-linux-5.6.patch +++ /dev/null @@ -1,36 +0,0 @@ -From d128d10c5f1554254ce55f3c79ca08390279d628 Mon Sep 17 00:00:00 2001 -From: "Jason A. Donenfeld" <Jason@zx2c4.com> -Date: Sun, 8 Mar 2020 13:04:55 +0800 -Subject: [PATCH] Support newer proc_ops interface for 5.6 - -Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> ---- - acpi_call.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/acpi_call.c b/acpi_call.c -index 801798b..65eb344 100644 ---- a/acpi_call.c -+++ b/acpi_call.c -@@ -348,11 +348,18 @@ static ssize_t acpi_proc_read( struct file *filp, char __user *buff, - return ret; - } - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) - static struct file_operations proc_acpi_operations = { - .owner = THIS_MODULE, - .read = acpi_proc_read, - .write = acpi_proc_write, - }; -+#else -+static const struct proc_ops proc_acpi_operations = { -+ .proc_read = acpi_proc_read, -+ .proc_write = acpi_proc_write, -+}; -+#endif - - #else - static int acpi_proc_read(char *page, char **start, off_t off, --- -2.25.1 - |