freebsd-ports/emulators/openmsx/files/patch-src_utils_sha1.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

11 lines
398 B
C++

--- src/utils/sha1.cc.orig 2020-10-16 15:25:27 UTC
+++ src/utils/sha1.cc
@@ -123,7 +123,7 @@ static inline __m128i _mm_cmple_epu8(__m128i a, __m128
// load 64-bit (possibly unaligned) and swap bytes
static inline uint64_t loadSwap64(const char* s)
{
- return Endian::bswap64(*reinterpret_cast<const uint64_t*>(s));
+ return Endian::byteswap64(*reinterpret_cast<const uint64_t*>(s));
}
#else