summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-08-24 22:09:53 +0200
committerØrjan Malde <red@foxi.me>2022-08-24 22:09:53 +0200
commitcf19aae744ab526ede769274c3bef04a47c42753 (patch)
treedb6fd0394756b92656ccdc1e20bfc32489a46a02
parent4f6a95f0a4002600cbe29690e13c82991b8a4f08 (diff)
downloadmidipix_build-cf19aae744ab526ede769274c3bef04a47c42753.tar.bz2
midipix_build-cf19aae744ab526ede769274c3bef04a47c42753.tar.xz
patches/python2-2.7.18.local.patch: libressl support
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--patches/python2-2.7.18.local.patch12
l---------patches/python2_minipix-2.7.18.local.patch1
2 files changed, 13 insertions, 0 deletions
diff --git a/patches/python2-2.7.18.local.patch b/patches/python2-2.7.18.local.patch
new file mode 100644
index 0000000..e13aa68
--- /dev/null
+++ b/patches/python2-2.7.18.local.patch
@@ -0,0 +1,12 @@
+diff -ru Python-2.7.18.orig/Modules/_hashopenssl.c Python-2.7.18/Modules/_hashopenssl.c
+--- Python-2.7.18.orig/Modules/_hashopenssl.c 2020-04-19 23:13:39.000000000 +0200
++++ Python-2.7.18/Modules/_hashopenssl.c 2022-02-24 22:29:09.497683912 +0100
+@@ -56,7 +56,7 @@
+ #define _OPENSSL_SUPPORTS_SHA2
+ #endif
+
+-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+ /* OpenSSL < 1.1.0 */
+ #define EVP_MD_CTX_new EVP_MD_CTX_create
+ #define EVP_MD_CTX_free EVP_MD_CTX_destroy
diff --git a/patches/python2_minipix-2.7.18.local.patch b/patches/python2_minipix-2.7.18.local.patch
new file mode 120000
index 0000000..84a0909
--- /dev/null
+++ b/patches/python2_minipix-2.7.18.local.patch
@@ -0,0 +1 @@
+python2-2.7.18.local.patch \ No newline at end of file