diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-26 00:28:35 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-26 00:28:35 +0000 |
commit | aa8532c60ef22b16d8cdfd1e18058fd20aeebc42 (patch) | |
tree | a71ad03f5f2a0ff05b1d96cfe71323b17605b447 /games/black-hole-solver | |
parent | - Update to 1.2.8 (diff) |
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
Notes
Notes:
svn path=/head/; revision=553303
Diffstat (limited to 'games/black-hole-solver')
-rw-r--r-- | games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h b/games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h new file mode 100644 index 000000000000..1406bd175c65 --- /dev/null +++ b/games/black-hole-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h @@ -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; |