diff options
author | Jamie Landeg-Jones <jamie@catflap.org> | 2023-06-28 12:01:13 +0200 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2023-06-29 13:35:20 +0200 |
commit | 5b60ec37e75d77fe8b2ecc786c27fbdce8f6f571 (patch) | |
tree | 5333b6115452d704cfe3ea1342d99a0a0f60a0fa | |
parent | devel/binaryen: Update to 114 (diff) |
emulators/rtc: deprecate and return to pool
Doesn't work in modern FreeBSD versions.
PR: 272237
Reported by: jamie@catflap.org (maintainer)
-rw-r--r-- | emulators/rtc/Makefile | 6 | ||||
-rw-r--r-- | 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; |