commit:     3db8155722ee92587a11eb2f98e119b483a81939
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 21:27:30 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 21:27:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3db81557

sys-power/acpi_call: drop old version

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-power/acpi_call/Manifest                       |  1 -
 sys-power/acpi_call/acpi_call-1.2.1.ebuild         | 36 ----------------------
 .../files/acpi_call-1.2.1-kernel-5.13.patch        | 30 ------------------
 3 files changed, 67 deletions(-)

diff --git a/sys-power/acpi_call/Manifest b/sys-power/acpi_call/Manifest
index 44950a06146..14f25846bc0 100644
--- a/sys-power/acpi_call/Manifest
+++ b/sys-power/acpi_call/Manifest
@@ -1,2 +1 @@
-DIST acpi_call-1.2.1.tar.gz 12340 BLAKE2B 
e113f8c150c8e2f4f75ca1dd81cc4399f24bedcd716c9158561e8cb9f5e63e77cade18e6543ade4ec383690bf7041a583e297948789773db8ad9b63a957e61e8
 SHA512 
91553cf70a6b0173a6bfec38fcfb62ecd17614c91a888933704bb57d788592ce6981b01fb7c5e4bb8efdbe7fe229860c9f2be4b549dd71b232704c8bf0b3cfee
 DIST acpi_call-1.2.2.tar.gz 12403 BLAKE2B 
3195ec7e4d6189abdbb1409914d97d481f63ec79ec89a2ab630120ea99aabf8ca5890c500149a386a4a661d17e58387a6b252b625b6abadef1d977691156745e
 SHA512 
3916a211bcc4a2435c6ba9664b1c86d8ab587c052a03e6edccd00fd7d01c6a756003dcc146e22e2cf688795600589c8cac1d83774c989794dcadc91f5caa2b5e

diff --git a/sys-power/acpi_call/acpi_call-1.2.1.ebuild 
b/sys-power/acpi_call/acpi_call-1.2.1.ebuild
deleted file mode 100644
index 418c4c459de..00000000000
--- a/sys-power/acpi_call/acpi_call-1.2.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit linux-info linux-mod
-
-DESCRIPTION="A linux kernel module that enables calls to ACPI"
-HOMEPAGE="https://github.com/nix-community/acpi_call";
-SRC_URI="https://github.com/nix-community/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="examples"
-
-PATCHES=( "${FILESDIR}/${P}-kernel-5.13.patch" )
-
-BUILD_TARGETS="default"
-CONFIG_CHECK="ACPI"
-MODULE_NAMES="acpi_call(misc:${S})"
-
-src_compile() {
-       BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}"
-
-       linux-mod_src_compile
-}
-
-src_install() {
-       linux-mod_src_install
-
-       if use examples; then
-               insinto /usr/share/acpi_call
-               doins examples/*.sh
-       fi
-}

diff --git a/sys-power/acpi_call/files/acpi_call-1.2.1-kernel-5.13.patch 
b/sys-power/acpi_call/files/acpi_call-1.2.1-kernel-5.13.patch
deleted file mode 100644
index 786e639c03c..00000000000
--- a/sys-power/acpi_call/files/acpi_call-1.2.1-kernel-5.13.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 48011f82726c263f49a2b9ca3d9f674bdb4cfd22 Mon Sep 17 00:00:00 2001
-From: Alexander Wetzel <[email protected]>
-Date: Thu, 8 Jul 2021 16:37:43 +0200
-Subject: [PATCH] Fix for 5.13+ kernels
-
-Upstream commit d4455faccd6c ('proc: mandate ->proc_lseek
-in "struct proc_ops"') made seek support for proc mandatory.
-
-Not providing it will cause a null pointer exception for kernels
->=5.13.0
-
-Signed-off-by: Alexander Wetzel <[email protected]>
----
- acpi_call.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/acpi_call.c b/acpi_call.c
-index ebdda25..9fd9886 100644
---- a/acpi_call.c
-+++ b/acpi_call.c
-@@ -369,6 +369,9 @@ static ssize_t acpi_proc_read( struct file *filp, char 
__user *buff,
- static struct proc_ops proc_acpi_operations = {
-       .proc_read = acpi_proc_read,
-       .proc_write = acpi_proc_write,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 13, 0)
-+      .proc_lseek = default_llseek,
-+#endif
- };
- #else
- static struct file_operations proc_acpi_operations = {

Reply via email to