git: 49d85f399dab - main - mail/rspamd-devel: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 24 Dec 2021 21:07:11 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=49d85f399dab75cca9cff6dbcedcdfb82ffbd6b0

commit 49d85f399dab75cca9cff6dbcedcdfb82ffbd6b0
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-24 21:05:11 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-24 21:05:11 +0000

    mail/rspamd-devel: fix build on powerpc64le
---
 mail/rspamd-devel/files/patch-contrib_xxhash_xxhash.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

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
+