Hi ports -- phessler@'s latest aarch64 bulk showed that games/stepmania failed to build. The attach patch fixes things on it and armv7 as a bonus.
We could use this fix for alpha too (marked as BROKEN) though I doubt anyone cares.
OK? ~Brian
Index: patches/patch-src_libtomcrypt_src_headers_tomcrypt_cfg_h =================================================================== RCS file: patches/patch-src_libtomcrypt_src_headers_tomcrypt_cfg_h diff -N patches/patch-src_libtomcrypt_src_headers_tomcrypt_cfg_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_libtomcrypt_src_headers_tomcrypt_cfg_h 2 May 2019 04:29:35 -0000 @@ -0,0 +1,23 @@ +$OpenBSD$ + +Index: src/libtomcrypt/src/headers/tomcrypt_cfg.h +--- src/libtomcrypt/src/headers/tomcrypt_cfg.h.orig ++++ src/libtomcrypt/src/headers/tomcrypt_cfg.h +@@ -101,6 +101,17 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const char *s1, cons + #endif + #endif + ++/* detect arm64 and arm */ ++#if defined(__OpenBSD__) ++ #if defined(__aarch64__) ++ #define ENDIAN_LITTLE ++ #define ENDIAN_64BITWORD ++ #elif defined(__arm__) ++ #define ENDIAN_LITTLE ++ #define ENDIAN_32BITWORD ++ #endif ++#endif ++ + + #ifdef LTC_NO_FAST + #ifdef LTC_FAST
