aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-23 22:23:11 +0800
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-23 22:23:11 +0800
commitd595550c2fc47e63a47c4fd6c4c27133c3841b1e (patch)
treeca086003bfe73cf185671fc2f3f7896302457ac0 /games
parent3cf0327df4569653a3fdfe84478a48d33ec7fc9d (diff)
downloadfreebsd-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.h14
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;