summaryrefslogtreecommitdiff
path: root/security/openssl/files/patch-crypto_threads__pthread.c
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2023-10-14 19:00:42 +0200
committerBernard Spil <brnrd@FreeBSD.org>2023-10-14 19:23:12 +0200
commitd5ec2e12f399b7813994564b77a0915821a0ac42 (patch)
treefdc14566c6c6254f857a72189c195c412a58a8ee /security/openssl/files/patch-crypto_threads__pthread.c
parentsecurity/openssl111: Recreate OpenSSL 1.1.1 port (diff)
security/openssl: Major version update to 3.0
* OpenSSL 1.1.1 is EoL, update to new LTS version * Aligns with upcoming OpenSSL version in 14.0
Diffstat (limited to 'security/openssl/files/patch-crypto_threads__pthread.c')
-rw-r--r--security/openssl/files/patch-crypto_threads__pthread.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/openssl/files/patch-crypto_threads__pthread.c b/security/openssl/files/patch-crypto_threads__pthread.c
new file mode 100644
index 000000000000..3347170e0bd0
--- /dev/null
+++ b/security/openssl/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)