commit:     bc19781b9dfcf85526671dc98e73b6a19f58cfe4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 24 04:52:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 04:54:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc19781b

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 <sam <AT> gentoo.org>

 .../redshift/{redshift-1.12-r11.ebuild => redshift-1.12-r12.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 cba0bd3c1a6b..f63e9812d15e 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() {

Reply via email to