summaryrefslogtreecommitdiff
path: root/security/openssl35/files/patch-crypto_threads__pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssl35/files/patch-crypto_threads__pthread.c')
-rw-r--r--security/openssl35/files/patch-crypto_threads__pthread.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/openssl35/files/patch-crypto_threads__pthread.c b/security/openssl35/files/patch-crypto_threads__pthread.c
new file mode 100644
index 000000000000..3347170e0bd0
--- /dev/null
+++ b/security/openssl35/files/patch-crypto_threads__pthread.c
@@ -0,0 +1,13 @@
+--- crypto/threads_pthread.c.orig 2022-11-01 14:14:36 UTC
++++ crypto/threads_pthread.c
+@@ -29,6 +29,10 @@
+ #define BROKEN_CLANG_ATOMICS
+ #endif
+
++#if defined(__FreeBSD__) && defined(__i386__)
++#define BROKEN_CLANG_ATOMICS
++#endif
++
+ #if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && !defined(OPENSSL_SYS_WINDOWS)
+
+ # if defined(OPENSSL_SYS_UNIX)