Date: Mon, 26 Oct 2020 00:28:36 +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: r553303 - head/games/black-hole-solver/files Message-ID: <202010260028.09Q0Sa1f083868@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Oct 26 00:28:35 2020 New Revision: 553303 URL: https://svnweb.freebsd.org/changeset/ports/553303 Log: games/black-hole-solver: fix build on powerpc64le Another namespace collision: In file included from /wrkdirs/usr/ports/games/black-hole-solver/work/black-hole-solver-1.8.0/xxHash-wrapper/xxHash-0.7.2/xxh3.h:162: /usr/lib/clang/11.0.0/include/altivec.h:55:19: error: unknown type name 'vector' static __inline__ vector bool char __ATTRS_o_ai Added: head/games/black-hole-solver/files/ head/games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h (contents, props changed) Added: head/games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h Mon Oct 26 00:28:35 2020 (r553303) @@ -0,0 +1,14 @@ +--- xxHash-wrapper/xxHash-0.7.2/xxh3.h.orig 2020-06-18 10:18:02 UTC ++++ xxHash-wrapper/xxHash-0.7.2/xxh3.h +@@ -159,8 +159,10 @@ + /* VSX stuff. It's a lot because VSX support is mediocre across compilers and + * there is a lot of mischief with endianness. */ + #if XXH_VECTOR == XXH_VSX +-# include <altivec.h> ++# undef bool + # undef vector ++# include <altivec.h> ++# define bool _Bool + typedef __vector unsigned long long U64x2; + typedef __vector unsigned char U8x16; + typedef __vector unsigned U32x4;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010260028.09Q0Sa1f083868>