mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
games/freecell-solver: fix build on powerpc64le
Error: /wrkdirs/usr/ports/games/freecell-solver/work/freecell-solver-6.0.1/xxHash-wrapper/xxHash-0.7.2/xxh3.h:627:32: warning: implicit declaration of function 'vec_vsx_ld' is invalid in C99 [-Wimplicit-function-declaration] U64x2 const data_vec = vec_vsx_ld(0, xinput + i);
This commit is contained in:
parent
3cf0327df4
commit
d595550c2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553108
@ -0,0 +1,14 @@
|
||||
--- xxHash-wrapper/xxHash-0.7.2/xxh3.h.orig 2020-06-13 11:40:25 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;
|
Loading…
Reference in New Issue
Block a user