From 73c5f2eaa9f83705bf6e160d34133cb20d881977 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 3 Nov 2024 14:00:39 -0500 Subject: [PATCH] media-gfx/chafa: make sure elibtoolize is applied Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz --- media-gfx/chafa/chafa-1.12.5-r1.ebuild | 7 ++++++- media-gfx/chafa/chafa-1.14.1.ebuild | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/media-gfx/chafa/chafa-1.12.5-r1.ebuild b/media-gfx/chafa/chafa-1.12.5-r1.ebuild index 4c8a4adfa06bf..06c118fd88eea 100644 --- a/media-gfx/chafa/chafa-1.12.5-r1.ebuild +++ b/media-gfx/chafa/chafa-1.12.5-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit flag-o-matic +inherit flag-o-matic libtool DESCRIPTION="versatile and fast Unicode/ASCII/ANSI graphics renderer" HOMEPAGE="https://hpjansson.org/chafa/ https://github.com/hpjansson/chafa" @@ -28,6 +28,11 @@ QA_CONFIG_IMPL_DECL_SKIP=( _mm_popcnt_u64 ) +src_prepare() { + default + elibtoolize +} + src_configure() { # bug 909429 use webp && append-ldflags -lwebp diff --git a/media-gfx/chafa/chafa-1.14.1.ebuild b/media-gfx/chafa/chafa-1.14.1.ebuild index 819bed597ca8a..4414459ae1cac 100644 --- a/media-gfx/chafa/chafa-1.14.1.ebuild +++ b/media-gfx/chafa/chafa-1.14.1.ebuild @@ -27,6 +27,11 @@ QA_CONFIG_IMPL_DECL_SKIP=( _mm_popcnt_u64 ) +src_prepare() { + default + elibtoolize +} + src_configure() { # bug 909429 use webp && append-ldflags -lwebp