From cd2858aa17a32b2672fdb620f086cd0709a2997b Mon Sep 17 00:00:00 2001 From: Twangboy Date: Wed, 9 Nov 2022 02:11:00 +0300 Subject: [PATCH 1/2] 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; From 3bfaa33c1b935fc4eaf9dcb5be5ae4768b281b75 Mon Sep 17 00:00:00 2001 From: Twangboy Date: Sun, 13 Nov 2022 04:24:22 +0300 Subject: [PATCH 2/2] Gitignore special files of PyCharm and Vim --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index dbb70df9..71bc9839 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /src/*.o /bats/ /default-packages +.idea +*.un~