Date: Wed, 24 Mar 2021 16:04:00 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569138 - head/net-p2p/monero-cli/files Message-ID: <202103241604.12OG40r0005198@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Mar 24 16:04:00 2021 New Revision: 569138 URL: https://svnweb.freebsd.org/changeset/ports/569138 Log: net-p2p/monero-cli: fix build on powerpc64le /wrkdirs/usr/ports/net-p2p/monero-cli/work/monero-0.17.1.9/external/randomx/src/intrin_portable.h:189:18: error: C++ requires a type specifier for all declarations typedef __vector uint8_t __m128i; Added: head/net-p2p/monero-cli/files/patch-external_randomx_src_intrin__portable.h (contents, props changed) Added: head/net-p2p/monero-cli/files/patch-external_randomx_src_intrin__portable.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/monero-cli/files/patch-external_randomx_src_intrin__portable.h Wed Mar 24 16:04:00 2021 (r569138) @@ -0,0 +1,25 @@ +--- external/randomx/src/intrin_portable.h.orig 2021-03-24 16:01:43 UTC ++++ external/randomx/src/intrin_portable.h +@@ -186,10 +186,10 @@ FORCE_INLINE uint32_t rx_get_rounding_mode() { + #undef pixel + #undef bool + +-typedef __vector uint8_t __m128i; +-typedef __vector uint32_t __m128l; ++typedef __vector unsigned char __m128i; ++typedef __vector unsigned int __m128l; + typedef __vector int __m128li; +-typedef __vector uint64_t __m128ll; ++typedef __vector unsigned long long __m128ll; + typedef __vector double __m128d; + + typedef __m128i rx_vec_i128; +@@ -209,7 +209,7 @@ typedef union{ + #define rx_prefetch_t0(x) + + /* Splat 64-bit long long to 2 64-bit long longs */ +-FORCE_INLINE __m128i vec_splat2sd (int64_t scalar) ++FORCE_INLINE __m128i vec_splat2sd (signed long long scalar) + { return (__m128i) vec_splats (scalar); } + + FORCE_INLINE rx_vec_f128 rx_load_vec_f128(const double* pd) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103241604.12OG40r0005198>