aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-24 21:05:11 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-24 21:05:11 +0000
commit49d85f399dab75cca9cff6dbcedcdfb82ffbd6b0 (patch)
treed804541360c84d9db547871689f2ae39c0850164 /mail
parentfb6909c344e2bcbd832bd0e0fad12dbfc965996a (diff)
downloadports-49d85f399dab75cca9cff6dbcedcdfb82ffbd6b0.tar.gz
ports-49d85f399dab75cca9cff6dbcedcdfb82ffbd6b0.zip
mail/rspamd-devel: fix build on powerpc64le
Diffstat (limited to 'mail')
-rw-r--r--mail/rspamd-devel/files/patch-contrib_xxhash_xxhash.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/rspamd-devel/files/patch-contrib_xxhash_xxhash.h b/mail/rspamd-devel/files/patch-contrib_xxhash_xxhash.h
new file mode 100644
index 000000000000..ffd646edb20a
--- /dev/null
+++ b/mail/rspamd-devel/files/patch-contrib_xxhash_xxhash.h
@@ -0,0 +1,10 @@
+--- contrib/xxhash/xxhash.h.orig 2021-03-31 12:18:19 UTC
++++ contrib/xxhash/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
+