Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2023 11:35:29 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5b60ec37e75d - main - emulators/rtc: deprecate and return to pool
Message-ID:  <202306291135.35TBZT1c005898@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b60ec37e75d77fe8b2ecc786c27fbdce8f6f571

commit 5b60ec37e75d77fe8b2ecc786c27fbdce8f6f571
Author:     Jamie Landeg-Jones <jamie@catflap.org>
AuthorDate: 2023-06-28 10:01:13 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2023-06-29 11:35:20 +0000

    emulators/rtc: deprecate and return to pool
    
    Doesn't work in modern FreeBSD versions.
    
    PR:             272237
    Reported by:    jamie@catflap.org (maintainer)
---
 emulators/rtc/Makefile    | 6 +++++-
 emulators/rtc/files/rtc.c | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index 19226b456aa2..66e5009b17f3 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -1,14 +1,18 @@
 PORTNAME=	rtc
 PORTVERSION=	2020.07.07.1
+PORTREVISION=	1
 CATEGORIES=	emulators linux
 MASTER_SITES=	# none
 DISTFILES=	# none
 
-MAINTAINER=	jamie@catflap.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Kernel module which provides /dev/rtc device support
 
 LICENSE=	BSD2CLAUSE
 
+DEPRECATED=	Driver doesn't actually work with current FreeBSD versions
+EXPIRATION_DATE=	2023-12-31
+
 USES=		kmod uidfix
 
 WRKSRC=		${WRKDIR}/files
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c
index 5c3d8cf1c5b2..13e0f467e2f2 100644
--- a/emulators/rtc/files/rtc.c
+++ b/emulators/rtc/files/rtc.c
@@ -66,8 +66,8 @@ struct rtc_softc {
 	struct {
 	 int	freq;
 	 struct {
-		int	opened:1;
-		int 	enabled:1;
+		unsigned int	opened:1;
+		unsigned int 	enabled:1;
 	 } flags;
 	struct callout rtc_handle;
 	struct timespec lasttime;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306291135.35TBZT1c005898>