freebsd-ports/emulators/openmsx/files/patch-src_utils_tiger.cc
Rainer Hurling 0922623f3f emulators/openmsx: Update to 16.0
Changelog[1]:
- Lots of new features and fixes
- New version scheme (0.15.0 to 16.0)

[1] https://raw.githubusercontent.com/openMSX/openMSX/RELEASE_16_0/doc/release-notes.txt

Ports changes:
- Update PORTVERSION
- Remove BROKEN
- Update distinfo
- Add patches with FreeBSD gcc specific changes
- Use secure URL in pkg-descr

PR:		250399
Submitted by:	Daniel Menelkir <menelkir@itroll.org> (maintainer)
Approved by:	arrowd (mentor), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26825
2020-10-17 10:55:02 +00:00

15 lines
488 B
C++

--- src/utils/tiger.cc.orig 2020-10-16 15:12:50 UTC
+++ src/utils/tiger.cc
@@ -662,9 +662,9 @@ static inline void initState(uint64_t state[3])
static inline void returnState(uint64_t state[3])
{
if (OPENMSX_BIGENDIAN) {
- state[0] = Endian::bswap64(state[0]);
- state[1] = Endian::bswap64(state[1]);
- state[2] = Endian::bswap64(state[2]);
+ state[0] = Endian::byteswap64(state[0]);
+ state[1] = Endian::byteswap64(state[1]);
+ state[2] = Endian::byteswap64(state[2]);
}
}