git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2466775
)
python3: fix build when Blake2 not enabled in OpenSSL
author
Yorkie Liu
<redacted>
Thu, 21 Nov 2019 10:16:22 +0000
(18:16 +0800)
committer
yorkie
<redacted>
Thu, 21 Nov 2019 10:18:14 +0000
(18:18 +0800)
Refs:
- https://github.com/python/cpython/commit/
7c20888e71304ecbf4bd3d595f364b7c691d30a0
- https://bugs.python.org/issue38684
Signed-off-by: Yorkie Liu <redacted>
lang/python/python3/patches/002-fix-blake2-detection.patch
patch
|
blob
|
history
diff --git
a/lang/python/python3/patches/002-fix-blake2-detection.patch
b/lang/python/python3/patches/002-fix-blake2-detection.patch
index 72b6ea219fe4d2fa7c3150ca22c2e48fc0f3fb8c..88916af07d12d03a101d85d71f671ead29405e25 100644
(file)
--- a/
lang/python/python3/patches/002-fix-blake2-detection.patch
+++ b/
lang/python/python3/patches/002-fix-blake2-detection.patch
@@
-5,7
+5,7
@@
#endif
-#ifdef NID_blake2b512
-+#if
ndef OPENSSL_NO_BLAKE2
++#if
defined(NID_blake2b512) && !defined(OPENSSL_NO_BLAKE2)
#define PY_OPENSSL_HAS_BLAKE2 1
#endif
git clone https://git.99rst.org/PROJECT