aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-04 19:23:01 +0000
committerpsykose <alice@ayaya.dev>2022-08-04 21:23:01 +0200
commit147aa5fcd1d08c394521869a84aee59dc76dc430 (patch)
treed551536316d687a08aecaf0b3439700039c2ce34
parente6290f62309dd006b030e70a412d42c790f86913 (diff)
downloadaports-147aa5fcd1d08c394521869a84aee59dc76dc430.tar.gz
aports-147aa5fcd1d08c394521869a84aee59dc76dc430.tar.bz2
aports-147aa5fcd1d08c394521869a84aee59dc76dc430.tar.xz
community/rspamd: ..but lower the library init level
-rw-r--r--community/rspamd/APKBUILD2
-rw-r--r--community/rspamd/no-avx-test.patch11
2 files changed, 11 insertions, 2 deletions
diff --git a/community/rspamd/APKBUILD b/community/rspamd/APKBUILD
index c35c73cce9..86b3796314 100644
--- a/community/rspamd/APKBUILD
+++ b/community/rspamd/APKBUILD
@@ -198,5 +198,5 @@ a2003ef0c9d64a44480f59302864a2dfedcbe3a0047fcbb655408bc8aae9014b6ad0ddc6b64d4abe
a8aefee649bf6630339d1d3f2bb20c25ca70b21a8eaa92951e926d0fd4525f1d4ac4cc7ea66ac2b15323cf02c93c759ddf7181502f0d71b21384ced9d88c008e 30-conf-split-workers.patch
8801e3af59886847c25c87ca2f231cd9ededf35f376f9920967e72696fb017b1a4312f3a49017b52f65556bfe5c9f74a80405643afa32bb2906c38d39c5e1818 20-default-configs.patch
6f828601ce460f2fd3b1c430974b719e36b0aa5600bd7074683fd646d99a4e76da35840b54c50416a9ae6d87babe39c5d463fc2ec05814e164a96d16f5da18b7 10-control_socket.patch
-f8abc434e21f66f1e297d81451b877554891f7767e5bea445a67b4f4c7a37eba155e8130fe1b4023f7532458cd20608e66592aa98dfa10e07fd45cc7c74eb9d7 no-avx-test.patch
+20ce00b045c726e8672195ade83b6b3f3506d05c98e0f4937e2770f4dca83e56d43de988c91ce8c4b30cda2cde4036b23c65dbba5f545f341c7346dc6ea967a5 no-avx-test.patch
"
diff --git a/community/rspamd/no-avx-test.patch b/community/rspamd/no-avx-test.patch
index 49f149890f..efdd38b643 100644
--- a/community/rspamd/no-avx-test.patch
+++ b/community/rspamd/no-avx-test.patch
@@ -1,7 +1,16 @@
diff --git a/test/lua/unit/utf.lua b/test/lua/unit/utf.lua
-index 67ccfb4..ab9c1a7 100644
+index 67ccfb4..1bf8626 100644
--- a/test/lua/unit/utf.lua
+++ b/test/lua/unit/utf.lua
+@@ -78,7 +78,7 @@ context("UTF8 check functions", function()
+ end
+
+ -- Enable sse and avx2
+- ffi.C.rspamd_fast_utf8_library_init(3)
++ ffi.C.rspamd_fast_utf8_library_init(0)
+ local valid_cases = {
+ "a",
+ "\xc3\xb1",
@@ -191,15 +191,15 @@ context("UTF8 check functions", function()
local res = test_size(sz, false, 'sse')
assert_equal(res, 0)