python3.10: fix build with newer libedit. (#10019)

Reference: https://github.com/python/cpython/pull/110239
This commit is contained in:
OscarL
2024-01-28 13:54:07 -03:00
committed by GitHub
parent a1ca405445
commit 1c4b106f6c
2 changed files with 120 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ OSI-approved open source license."
HOMEPAGE="https://www.python.org"
LICENSE="Python"
COPYRIGHT="1990-2023 Python Software Foundation"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="5c88848668640d3e152b35b4536ef1c23b2ca4bd2c957ef1ecbb053f571dd3f6"
SOURCE_DIR="Python-$portVersion"
@@ -101,6 +101,7 @@ BUILD_PREREQUIRES="
BUILD()
{
autoupdate
autoreconf -fi
# From ./configure:
@@ -114,8 +115,8 @@ BUILD()
export OPT="-fwrapv -O3 -Wall"
runConfigure --omit-dirs binDir,includeDir ./configure \
--bindir=$commandBinDir \
--includedir=$developDir/headers \
--bindir=$commandBinDir \
--includedir=$developDir/headers \
--enable-optimizations \
--enable-shared \
--with-ensurepip=no \