From cd2858aa17a32b2672fdb620f086cd0709a2997b Mon Sep 17 00:00:00 2001 From: Twangboy Date: Wed, 9 Nov 2022 02:11:00 +0300 Subject: [PATCH] Fix compilation error when building OpenSSL 1.1.1q in MacOS 11+ for 3.9.15 and 3.8.15 --- .../openssl_1.1.1q_fix_c_include.patch | 12 ++++++++++++ .../openssl_1.1.1q_fix_c_include.patch | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 plugins/python-build/share/python-build/patches/3.8.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch create mode 100644 plugins/python-build/share/python-build/patches/3.9.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch diff --git a/plugins/python-build/share/python-build/patches/3.8.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch b/plugins/python-build/share/python-build/patches/3.8.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch new file mode 100644 index 00000000..e7088e5e --- /dev/null +++ b/plugins/python-build/share/python-build/patches/3.8.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch @@ -0,0 +1,12 @@ +diff --git a/test/v3ext.c b/test/v3ext.c +index 7a240cd706..6cec6f1a9b 100644 +--- a/test/v3ext.c ++++ b/test/v3ext.c +@@ -15,6 +15,7 @@ + #include + #include "internal/nelem.h" + ++#include + #include "testutil.h" + + static const char *infile; diff --git a/plugins/python-build/share/python-build/patches/3.9.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch b/plugins/python-build/share/python-build/patches/3.9.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch new file mode 100644 index 00000000..e7088e5e --- /dev/null +++ b/plugins/python-build/share/python-build/patches/3.9.15/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch @@ -0,0 +1,12 @@ +diff --git a/test/v3ext.c b/test/v3ext.c +index 7a240cd706..6cec6f1a9b 100644 +--- a/test/v3ext.c ++++ b/test/v3ext.c +@@ -15,6 +15,7 @@ + #include + #include "internal/nelem.h" + ++#include + #include "testutil.h" + + static const char *infile;