summaryrefslogtreecommitdiff
path: root/security/openssl32/files/patch-crypto_threads__pthread.c
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2023-09-10 17:09:43 +0200
committerBernard Spil <brnrd@FreeBSD.org>2023-09-10 17:09:43 +0200
commit5278f6d9bfd0b09e5a17d23a4f7dd86c531bbb88 (patch)
tree2d38d3b6bff0e831d4db9cc99c3a67a31e6431f6 /security/openssl32/files/patch-crypto_threads__pthread.c
parentsysutils/bacula11-server: Add S3 cloud option (diff)
security/openss32: Add OpenSSL 3.2 ALPHA port
* For early testers
Diffstat (limited to 'security/openssl32/files/patch-crypto_threads__pthread.c')
-rw-r--r--security/openssl32/files/patch-crypto_threads__pthread.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/openssl32/files/patch-crypto_threads__pthread.c b/security/openssl32/files/patch-crypto_threads__pthread.c
new file mode 100644
index 000000000000..3347170e0bd0
--- /dev/null
+++ b/security/openssl32/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)