diff -Nru acpi-call-1.1.0/debian/changelog acpi-call-1.1.0/debian/changelog --- acpi-call-1.1.0/debian/changelog 2019-05-31 15:33:13.000000000 +0000 +++ acpi-call-1.1.0/debian/changelog 2020-10-13 08:20:49.000000000 +0000 @@ -1,3 +1,9 @@ +acpi-call (1.1.0-5ubuntu1) focal; urgency=medium + + * fix proc_ops declaration with linux 5.8 + + -- Andrea Righi Tue, 13 Oct 2020 08:20:49 +0000 + acpi-call (1.1.0-5) unstable; urgency=medium * [302afec] Migrate project to Salsa diff -Nru acpi-call-1.1.0/debian/patches/0004-Fix-proc-create-prototype-with-linux-5.8.patch acpi-call-1.1.0/debian/patches/0004-Fix-proc-create-prototype-with-linux-5.8.patch --- acpi-call-1.1.0/debian/patches/0004-Fix-proc-create-prototype-with-linux-5.8.patch 1970-01-01 00:00:00.000000000 +0000 +++ acpi-call-1.1.0/debian/patches/0004-Fix-proc-create-prototype-with-linux-5.8.patch 2020-10-13 08:19:39.000000000 +0000 @@ -0,0 +1,21 @@ +--- a/acpi_call.c 2020-10-13 08:15:55.000000000 +0000 ++++ b/acpi_call.c 2020-10-13 08:17:31.838848019 +0000 +@@ -318,11 +318,18 @@ static ssize_t acpi_proc_read( struct fi + return ret; + } + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) ++static struct proc_ops proc_acpi_operations = { ++ .proc_read = acpi_proc_read, ++ .proc_write = acpi_proc_write, ++}; ++#else + static struct file_operations proc_acpi_operations = { + .owner = THIS_MODULE, + .read = acpi_proc_read, + .write = acpi_proc_write, + }; ++#endif + + #else + static int acpi_proc_read(char *page, char **start, off_t off, diff -Nru acpi-call-1.1.0/debian/patches/series acpi-call-1.1.0/debian/patches/series --- acpi-call-1.1.0/debian/patches/series 2019-05-31 15:31:36.000000000 +0000 +++ acpi-call-1.1.0/debian/patches/series 2020-10-13 08:19:39.000000000 +0000 @@ -1,3 +1,4 @@ 0003-Fix-memory-leak-on-args.patch 0001-Fix-compatibility-with-Linux-3.17.patch 0002-Fix-build-4.12-copy-from-user.patch +0004-Fix-proc-create-prototype-with-linux-5.8.patch