diff options
-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; |