FreeBSD Bugzilla – Attachment 243024 Details for
Bug 272237
emulators/rtc: deprecate and return to pool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch to update port
0001-Fix-the-compilation-warnings-with-the-latest-CLANG-a.patch (text/plain), 1.50 KB, created by
Jamie Landeg-Jones
on 2023-06-26 23:39:24 UTC
(
hide
)
Description:
git patch to update port
Filename:
MIME Type:
Creator:
Jamie Landeg-Jones
Created:
2023-06-26 23:39:24 UTC
Size:
1.50 KB
patch
obsolete
>From 6772255884cbd9429bb135deb7c88d35a51b3f5d Mon Sep 17 00:00:00 2001 >From: Jamie Landeg-Jones <jamie@catflap.org> >Date: Tue, 27 Jun 2023 00:29:15 +0100 >Subject: [PATCH] Fix the compilation warnings with the latest CLANG, and > return port to the pool, and mark is as deprecated, as it doesn't actually > work on currently supported systems, and no-one has stepped up to fix it. > >--- > 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; >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fernape
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 272237
: 243024