diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-23 22:23:11 +0800 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-23 22:23:11 +0800 |
commit | d595550c2fc47e63a47c4fd6c4c27133c3841b1e (patch) | |
tree | ca086003bfe73cf185671fc2f3f7896302457ac0 /games | |
parent | 3cf0327df4569653a3fdfe84478a48d33ec7fc9d (diff) | |
download | freebsd-ports-gnome-d595550c2fc47e63a47c4fd6c4c27133c3841b1e.tar.gz freebsd-ports-gnome-d595550c2fc47e63a47c4fd6c4c27133c3841b1e.tar.zst freebsd-ports-gnome-d595550c2fc47e63a47c4fd6c4c27133c3841b1e.zip |
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);
Diffstat (limited to 'games')
-rw-r--r-- | games/freecell-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games/freecell-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h b/games/freecell-solver/files/patch-xxHash-wrapper_xxHash-0.7.2_xxh3.h new file mode 100644 index 000000000000..3d660420b9fb --- /dev/null +++ b/games/freecell-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-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; |