mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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() {
|
||||
Reference in New Issue
Block a user