git: 84dc3ee3ce91 - main - sysutils/acerhdf-kmod: Update to 0.1.4

From: Tobias Kortkamp <tobik_at_FreeBSD.org>
Date: Sat, 10 Sep 2022 14:38:57 UTC
The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84dc3ee3ce9164815102c7ccb6c548f355c87460

commit 84dc3ee3ce9164815102c7ccb6c548f355c87460
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2022-09-10 14:19:09 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2022-09-10 14:35:46 +0000

    sysutils/acerhdf-kmod: Update to 0.1.4
    
    - Move to new home
    - The FreeBSD 14.0 build fix has been merged upstream
---
 sysutils/acerhdf-kmod/Makefile              |  9 +++------
 sysutils/acerhdf-kmod/distinfo              |  6 +++---
 sysutils/acerhdf-kmod/files/patch-acerhdf.c | 23 -----------------------
 3 files changed, 6 insertions(+), 32 deletions(-)

diff --git a/sysutils/acerhdf-kmod/Makefile b/sysutils/acerhdf-kmod/Makefile
index d110c6c7b59c..40c39cb81e69 100644
--- a/sysutils/acerhdf-kmod/Makefile
+++ b/sysutils/acerhdf-kmod/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	acerhdf-kmod
-DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.3
+DISTVERSION=	0.1.4
 CATEGORIES=	sysutils
+MASTER_SITES=	https://codeberg.org/attachments/c87b1205-eb13-4500-8066-254e7237277b?dummy=/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Acer Aspire One fan control
-WWW=		https://github.com/t6/kmod-acerhdf
+WWW=		https://codeberg.org/tobik/acerhdf-kmod
 
 LICENSE=	GPLv2
 
@@ -13,9 +13,6 @@ ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	specific to one machine
 
 USES=		kmod uidfix
-USE_GITHUB=	yes
-GH_ACCOUNT=	t6
-GH_PROJECT=	kmod-acerhdf
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/acerhdf.4 ${STAGEDIR}${PREFIX}/man/man4
diff --git a/sysutils/acerhdf-kmod/distinfo b/sysutils/acerhdf-kmod/distinfo
index 45de7beac5ff..3254581225cf 100644
--- a/sysutils/acerhdf-kmod/distinfo
+++ b/sysutils/acerhdf-kmod/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1570257585
-SHA256 (t6-kmod-acerhdf-v0.1.3_GH0.tar.gz) = e8dc8ec6bf4fe706a45eaca92cb93cede328af1c86a11e666c188d4c66b6eb76
-SIZE (t6-kmod-acerhdf-v0.1.3_GH0.tar.gz) = 8610
+TIMESTAMP = 1662059361
+SHA256 (acerhdf-kmod-0.1.4.tar.gz) = 60b1dab64caa55f735de0cbd56b13bdf6c2dc1a4f6e7bfc916a7cc35dddc42c6
+SIZE (acerhdf-kmod-0.1.4.tar.gz) = 8629
diff --git a/sysutils/acerhdf-kmod/files/patch-acerhdf.c b/sysutils/acerhdf-kmod/files/patch-acerhdf.c
deleted file mode 100644
index 5ac4bb73f8eb..000000000000
--- a/sysutils/acerhdf-kmod/files/patch-acerhdf.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- acerhdf.c.orig	2022-05-17 23:02:21 UTC
-+++ acerhdf.c
-@@ -246,8 +246,6 @@ struct acerhdf_softc {
-     struct sysctl_oid *sysctl_tree;
- };
- 
--static devclass_t acerhdf_devclass;
--
- ACPI_SERIAL_DECL(acerhdf, "Acer Aspire One fan control");
- 
- static const struct bios_settings *bios_cfg = NULL;
-@@ -740,5 +738,11 @@ static driver_t acerhdf_driver = {
-     sizeof(struct acerhdf_softc),
- };
- 
-+#if __FreeBSD_version >= 1400058
-+DRIVER_MODULE(acerhdf, acpi, acerhdf_driver, 0, 0);
-+#else
-+static devclass_t acerhdf_devclass;
-+
- DRIVER_MODULE(acerhdf, acpi, acerhdf_driver, acerhdf_devclass, 0, 0);
-+#endif
- MODULE_DEPEND(acerhdf, acpi, 1, 1, 1);