mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/cryptography: Force-disable SSLv3 to avoid ABI breakage
Force-disable SSLv3 even if OpenSSL is built with SSLv3. Otherwise disabling sslv3 flag on dev-libs/openssl causes ABI breakage that requires manual intervention. Closes: https://bugs.gentoo.org/803887 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -48,6 +48,10 @@ PATCHES=(
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid automagic dependency on dev-libs/openssl[sslv3]
|
||||
# https://bugs.gentoo.org/789450
|
||||
export CPPFLAGS="${CPPFLAGS} -DOPENSSL_NO_SSL3_METHOD=1"
|
||||
|
||||
# work around availability macros not supported in GCC (yet)
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local darwinok=0
|
||||
Reference in New Issue
Block a user