Linux RTC interface defines that an application can read unsigned long chunks from /dev/rtc. Our implementation uses int, so it is broken on all platforms that have sizeof(long)!=sizeof(int). I corrected this. Also I added support for reading int sized values, cause it is supported in the Linux RTC implementation. How-To-Repeat: On platform that has sizeof(int)!=sizeof(long) (eg. amd64) install emulators/rtc port. Also install multimedia/mplayer with WITH_RTC=yes. Start mplayer to watch a movie and you will see a bunch of error messages about RTC.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-emulation Over to maintainer(s).
State Changed From-To: open->closed Committed. Thanks!