commit:     6ca2e5ed827567d30ce068956fa09364e450d5e0
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Aug 30 13:16:00 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Fri Aug 30 13:16:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=6ca2e5ed

dev-lang/python: add correct ebuild for 3.12.5_p1

Closes: https://github.com/gentoo/libressl/issues/569
Signed-off-by: orbea <orbea <AT> riseup.net>

 dev-lang/python/python-3.12.5_p1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-lang/python/python-3.12.5_p1.ebuild 
b/dev-lang/python/python-3.12.5_p1.ebuild
index ac3fc7f..7e1059b 100644
--- a/dev-lang/python/python-3.12.5_p1.ebuild
+++ b/dev-lang/python/python-3.12.5_p1.ebuild
@@ -127,6 +127,7 @@ src_prepare() {
 
        local PATCHES=(
                "${WORKDIR}/${PATCHSET}"
+               "${FILESDIR}"/${PN}-3.12.4-libressl.patch
        )
 
        default
@@ -284,6 +285,10 @@ src_configure() {
                # a chance for users rebuilding python before glibc
                ac_cv_header_stropts_h=no
 
+               # libressl doesn't find hashlib (From OpenBSD)
+               ac_cv_working_openssl_hashlib=yes
+
+
                --enable-shared
                --without-static-libpython
                --enable-ipv6

Reply via email to