summaryrefslogtreecommitdiff
path: root/Utilities/Release/linux/aarch64/deps/openssl-source.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/Release/linux/aarch64/deps/openssl-source.patch')
-rw-r--r--Utilities/Release/linux/aarch64/deps/openssl-source.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/Utilities/Release/linux/aarch64/deps/openssl-source.patch b/Utilities/Release/linux/aarch64/deps/openssl-source.patch
new file mode 100644
index 000000000..c81fe2f88
--- /dev/null
+++ b/Utilities/Release/linux/aarch64/deps/openssl-source.patch
@@ -0,0 +1,12 @@
+# enable pthread APIs disabled by our _POSIX_SOURCE definitions
+--- openssl-source/crypto/threads_pthread.c.orig
++++ openssl-source/crypto/threads_pthread.c
+@@ -6,6 +6,8 @@
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
++#undef _POSIX_C_SOURCE
++#undef _POSIX_SOURCE
+
+ #include <openssl/crypto.h>
+ #include "internal/cryptlib.h"