Created attachment 199049 [details] patch to allow emulators/rtc to be built on stable/12 Patch follows r328417 way for MALLOC()/FREE() and adds some workarounds for time api changes.
Comment on attachment 199049 [details] patch to allow emulators/rtc to be built on stable/12 *bump* Please can this be actioned? I'm sure I'm not the only one to have got bitten by this in the last month!
Tidy up port. Take ownership. I've incorporated Olegs patch and made some other changes to this port. - Take ownership - Install kmod into /boot/modules instead of /usr/local/.... - Cleared out bits dating back to pre-devfs - Removed #ifdef bits related to FreeBSD <= 4.X and FreeBSD <= 8.X - Olegs fixes for FreeBSD 11.X and FreeBSD 12.X+ - Removed "USES= linux uidfix" - whilst this provides functionality that is "often" used by linux programs, that's not necessarily the case, and this module doesn't require any linux subsystem or kernel MOD to operate. - Removed oldstyle rtc.sh - include pkg-message showing how to load from the rc.conf "kld_list" mechanism. - Fixed typo in "test.c" -> /dec -> /dev - Fixed path to "rtc.h" in "test.c"
Created attachment 216332 [details] patch to clean up emulators/rtc port
testbuilds@work
A commit references this bug: Author: pi Date: Tue Sep 1 09:04:34 UTC 2020 New revision: 547249 URL: https://svnweb.freebsd.org/changeset/ports/547249 Log: emulators/rtc: update 2004.02.24.1 -> 2020.07.07.1 - submitter becomes maintainer - Install kmod into /boot/modules instead of /usr/local - Cleared out bits dating back to pre-devfs - Removed #ifdef bits related to FreeBSD <= 4.X and FreeBSD <= 8.X - Olegs fixes for FreeBSD 11.X and FreeBSD 12.X+ - Removed "USES= linux uidfix" - whilst this provides functionality that is "often" used by linux programs, that's not necessarily the case, and this module doesn't require any linux subsystem or kernel MOD to operate. - Removed oldstyle rtc.sh - include pkg-message showing how to load from the rc.conf "kld_list" mechanism. - Fixed typo in "test.c" -> /dec -> /dev - Fixed path to "rtc.h" in "test.c" PR: 233057 Submitted by: Jamie Landeg-Jones <jamie@catflap.org> Changes: head/emulators/rtc/Makefile head/emulators/rtc/files/Makefile head/emulators/rtc/files/rtc.c head/emulators/rtc/files/rtc.sh head/emulators/rtc/files/rtc_linux.c head/emulators/rtc/files/test.c head/emulators/rtc/pkg-message head/emulators/rtc/pkg-plist
Committed, thanks!