From c4169a55e62e158539dfaf67f5cacc969cc05043 Mon Sep 17 00:00:00 2001 From: Piraty Date: Fri, 8 Mar 2024 17:32:55 +0100 Subject: [PATCH] python3: use patched autoconf-archive to fix lto build no revbump as Void's default build configuration is not affected --- srcpkgs/python3/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index d3342dda925..48bcc646077 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -11,7 +11,7 @@ configure_args="--enable-shared --enable-ipv6 --enable-optimizations --with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi --without-ensurepip ac_cv_working_tzset=yes" pycompile_dirs="usr/lib/python${version%.*}" -hostmakedepends="pkgconf" +hostmakedepends="pkgconf autoconf-archive automake" makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel" depends="ca-certificates" @@ -64,6 +64,11 @@ post_patch() { fi } +# https://github.com/python/cpython/issues/89640 +pre_configure() { + autoreconf -vfi +} + do_configure() { # If these are set, distutils will default to cc and attempt to pass # `-R` to the compiler for every compiled extension that sets an