diff --git a/x11-plugins/astime/astime-2.8-r2.ebuild b/x11-plugins/astime/astime-2.8-r2.ebuild index 030c08793e3d3..423b8d0753230 100644 --- a/x11-plugins/astime/astime-2.8-r2.ebuild +++ b/x11-plugins/astime/astime-2.8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,7 +21,7 @@ RDEPEND="x11-libs/libXpm DEPEND="${RDEPEND} x11-base/xorg-proto" -PATCHES=( "${FILESDIR}/respect-ldflags.patch" ) +PATCHES=( "${FILESDIR}/${P}-respect-ldflags.patch" ) src_configure() { econf $(use_enable jpeg) diff --git a/x11-plugins/astime/astime-2.8-r3.ebuild b/x11-plugins/astime/astime-2.8-r3.ebuild index 1c7add6ea8eba..418ad38751ca3 100644 --- a/x11-plugins/astime/astime-2.8-r3.ebuild +++ b/x11-plugins/astime/astime-2.8-r3.ebuild @@ -14,14 +14,22 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="jpeg" -RDEPEND="x11-libs/libXpm +RDEPEND=" + x11-libs/libICE x11-libs/libSM - jpeg? ( media-libs/libjpeg-turbo:0 )" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + jpeg? ( media-libs/libjpeg-turbo:= ) +" -DEPEND="${RDEPEND} - x11-base/xorg-proto" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" PATCHES=( + "${FILESDIR}/${P}-respect-ldflags.patch" "${FILESDIR}/${P}-remove-double-config.h-autotools.patch" "${FILESDIR}/${P}-fix-implicit-function-decl.patch" ) diff --git a/x11-plugins/astime/files/respect-ldflags.patch b/x11-plugins/astime/files/astime-2.8-respect-ldflags.patch similarity index 100% rename from x11-plugins/astime/files/respect-ldflags.patch rename to x11-plugins/astime/files/astime-2.8-respect-ldflags.patch