diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-09-20 09:42:00 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-09-20 09:42:00 +0000 |
| commit | 43e895ad805c82e8d84dbf1ca7f014dfa6f2eaf7 (patch) | |
| tree | 23f2d57ddf1402589763fc7ce523775a56d09c15 /databases/memcached/files/patch-xxhash.h | |
| parent | sysutils/cbsd: update to 13.0.15 (diff) | |
databases/memcached: fix build on powerpc64le
In file included from hash.c:7:
In file included from ./xxhash.h:2934:
/usr/lib/clang/11.0.1/include/altivec.h:55:19: error: unknown type name 'vector'
static __inline__ vector bool char __ATTRS_o_ai
^
/usr/lib/clang/11.0.1/include/altivec.h:56:10: error: unknown type name 'vector'
vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c);
Diffstat (limited to 'databases/memcached/files/patch-xxhash.h')
| -rw-r--r-- | databases/memcached/files/patch-xxhash.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/databases/memcached/files/patch-xxhash.h b/databases/memcached/files/patch-xxhash.h new file mode 100644 index 000000000000..f62d8def3ef3 --- /dev/null +++ b/databases/memcached/files/patch-xxhash.h @@ -0,0 +1,10 @@ +--- xxhash.h.orig 2021-03-31 12:18:19 UTC ++++ xxhash.h +@@ -2409,6 +2409,7 @@ XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(co + # if defined(__GNUC__) && !defined(__APPLE_ALTIVEC__) + # define __APPLE_ALTIVEC__ + # endif ++# define vector __vector + # include <altivec.h> + # endif + |
