git: 43e895ad805c - main - databases/memcached: fix build on powerpc64le
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Sep 20 09:44:24 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=43e895ad805c82e8d84dbf1ca7f014dfa6f2eaf7
commit 43e895ad805c82e8d84dbf1ca7f014dfa6f2eaf7
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-20 09:42:00 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-20 09:42:00 +0000
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);
---
databases/memcached/files/patch-xxhash.h | 10 ++++++++++
1 file changed, 10 insertions(+)
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
+
More information about the dev-commits-ports-all
mailing list