summaryrefslogtreecommitdiff
path: root/security/openssl35/files/patch-crypto_threads__pthread.c
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2025-03-14 20:12:18 +0100
committerBernard Spil <brnrd@FreeBSD.org>2025-03-14 20:12:18 +0100
commita6e928d8c66fbfe0ab4b2e33284d5f839d6b98b1 (patch)
tree9448b403f5cf8258c8483ce799c75df51a17eeab /security/openssl35/files/patch-crypto_threads__pthread.c
parentdevel/pmd: Update 7.6.0 → 7.11.0 (diff)
security/openssl35: Add new OpenSSL version with PQC
* This is ALPHA level software, for testing only * Adds Post-Quantum Crypto algorithms
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)