From 075d2a0d57e85baaa780fb7d409804ae2b629f03 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 17 Mar 2024 23:03:19 -0400 Subject: [PATCH] media-libs/sdl-image: make sure elibtoolize is applied Since the libtool available is very old, that means running a full eautoreconf. Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- .../sdl-image/sdl-image-1.2.12_p20220527-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/media-libs/sdl-image/sdl-image-1.2.12_p20220527-r1.ebuild b/media-libs/sdl-image/sdl-image-1.2.12_p20220527-r1.ebuild index ef69929df5eff..41ace8cefe086 100644 --- a/media-libs/sdl-image/sdl-image-1.2.12_p20220527-r1.ebuild +++ b/media-libs/sdl-image/sdl-image-1.2.12_p20220527-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ EAPI=8 # or take new snapshots every so often as no SDL 1 / 1.2.x releases # will be made anymore. -inherit toolchain-funcs multilib-minimal +inherit autotools toolchain-funcs multilib-minimal SDL_IMAGE_COMMIT="633dc522f5114f6d473c910dace62e8ca27a1f7d" @@ -32,6 +32,11 @@ RDEPEND=" " DEPEND="${RDEPEND}" +src_prepare() { + default + eautoreconf +} + multilib_src_configure() { local myeconfargs=( --disable-jpg-shared