commit:     075d2a0d57e85baaa780fb7d409804ae2b629f03
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 18 03:03:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 05:30:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=075d2a0d

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 <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/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 ef69929df5ef..41ace8cefe08 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

Reply via email to