From 23576296ae4b1280b95ed9cda3d175c37f2297e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E8=90=B1/=E5=9C=9F=E6=92=A5=E9=BC=A0=EF=BC=88Lis?= =?UTF-8?q?beth=EF=BC=89?= Date: Wed, 14 Dec 2022 01:05:01 +0800 Subject: [PATCH] Fix compilation error when building OpenSSL 1.1.1q in MacOS 11+ for 3.9.16 (#2558) --- .../openssl_1.1.1q_fix_c_include.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 plugins/python-build/share/python-build/patches/3.9.16/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch diff --git a/plugins/python-build/share/python-build/patches/3.9.16/openssl-1.1.1q/openssl_1.1.1q_fix_c_include.patch b/plugins/python-build/share/python-build/patches/3.9.16/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.16/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;