From bc19781b9dfcf85526671dc98e73b6a19f58cfe4 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Feb 2025 04:52:30 +0000 Subject: [PATCH] x11-misc/redshift: fix applying patches Otherwise, we only apply user patches, not the ones in PATCHES(!) (It also makes sense to apply user patches before eautoreconf in case they want to modify the build system.) Signed-off-by: Sam James --- .../{redshift-1.12-r11.ebuild => redshift-1.12-r12.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename x11-misc/redshift/{redshift-1.12-r11.ebuild => redshift-1.12-r12.ebuild} (97%) diff --git a/x11-misc/redshift/redshift-1.12-r11.ebuild b/x11-misc/redshift/redshift-1.12-r12.ebuild similarity index 97% rename from x11-misc/redshift/redshift-1.12-r11.ebuild rename to x11-misc/redshift/redshift-1.12-r12.ebuild index cba0bd3c1a6b5..f63e9812d15e6 100644 --- a/x11-misc/redshift/redshift-1.12-r11.ebuild +++ b/x11-misc/redshift/redshift-1.12-r12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,13 +39,13 @@ PATCHES=( ) src_prepare() { + default + # we need to re-generate file py-compile with a version # that supports Python >=3.12 to not fail with error: # ModuleNotFoundError: No module named 'imp' rm py-compile || die eautoreconf - - eapply_user } src_configure() {