From ec9e36a74708ab54c98ed5ed9bdefe1cec116ff8 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sun, 30 Nov 2025 19:30:14 +0200 Subject: [PATCH] app-text/fzy: sync live Signed-off-by: Arthur Zamarin --- app-text/fzy/fzy-9999.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app-text/fzy/fzy-9999.ebuild b/app-text/fzy/fzy-9999.ebuild index 702455296c5c9..dd5b54bd2b474 100644 --- a/app-text/fzy/fzy-9999.ebuild +++ b/app-text/fzy/fzy-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit optfeature savedconfig toolchain-funcs @@ -9,8 +9,8 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/jhawthorn/fzy.git" else - SRC_URI="https://github.com/jhawthorn/${PN}/releases/download/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + SRC_URI="https://github.com/jhawthorn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" fi DESCRIPTION="Fuzzy text selector (interactive grep) for console" @@ -21,11 +21,14 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch +) + src_prepare() { default restore_config config.h tc-export CC - sed -i 's/$(LIBS)/$(LIBS) $(LDFLAGS)/g' Makefile || die } src_install() {