aboutsummaryrefslogtreecommitdiffstats
path: root/community/rspamd/fix-build-on-non-x86-platforms.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-15 13:23:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-15 13:24:35 +0000
commit73bb8f0ae399f168880eedef0d38168c8eb7d5d4 (patch)
tree2670d0af1ab63c86a20a23f3308152e85dd3fcfc /community/rspamd/fix-build-on-non-x86-platforms.patch
parentc96ade24bf43dff6e34a2351c6f0d18070a6807a (diff)
downloadaports-73bb8f0ae399f168880eedef0d38168c8eb7d5d4.tar.bz2
aports-73bb8f0ae399f168880eedef0d38168c8eb7d5d4.tar.xz
community/rspamd: build fix for non-x86
Diffstat (limited to 'community/rspamd/fix-build-on-non-x86-platforms.patch')
-rw-r--r--community/rspamd/fix-build-on-non-x86-platforms.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/rspamd/fix-build-on-non-x86-platforms.patch b/community/rspamd/fix-build-on-non-x86-platforms.patch
new file mode 100644
index 0000000000..737473272b
--- /dev/null
+++ b/community/rspamd/fix-build-on-non-x86-platforms.patch
@@ -0,0 +1,30 @@
+From b563e16adb19086f99f9ecf6b3c3636f44229758 Mon Sep 17 00:00:00 2001
+From: Vsevolod Stakhov <vsevolod@highsecure.ru>
+Date: Tue, 8 May 2018 20:44:10 +0100
+Subject: [PATCH] [Fix] Fix build on non-x86 platforms
+
+Issue: #2226
+---
+ contrib/t1ha/t1ha.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/contrib/t1ha/t1ha.h b/contrib/t1ha/t1ha.h
+index 30c408c87..191758c57 100644
+--- a/contrib/t1ha/t1ha.h
++++ b/contrib/t1ha/t1ha.h
+@@ -217,13 +217,13 @@
+ #define T1HA_API
+ #endif /* T1HA_API */
+
+-#if defined(_MSC_VER) && defined(__ia32__)
++#if defined(_MSC_VER)
+ #define T1HA_ALIGN_PREFIX __declspec(align(32)) /* required only for SIMD */
+ #else
+ #define T1HA_ALIGN_PREFIX
+ #endif /* _MSC_VER */
+
+-#if defined(__GNUC__) && defined(__ia32__)
++#if defined(__GNUC__)
+ #define T1HA_ALIGN_SUFFIX \
+ __attribute__((aligned(32))) /* required only for SIMD */
+ #else