commit: 9f186ab5a20e2e7f38a1ae6840cb7501b08994ab Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Nov 25 05:49:25 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Nov 25 05:49:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f186ab5
media-gfx/jpeginfo: fix build w/ clang 16 Closes: https://bugs.gentoo.org/874489 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/jpeginfo/jpeginfo-1.6.1-r1.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/media-gfx/jpeginfo/jpeginfo-1.6.1-r1.ebuild b/media-gfx/jpeginfo/jpeginfo-1.6.1-r1.ebuild index 8649717927b5..e036302e556a 100644 --- a/media-gfx/jpeginfo/jpeginfo-1.6.1-r1.ebuild +++ b/media-gfx/jpeginfo/jpeginfo-1.6.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="Prints information and tests integrity of JPEG/JFIF files" HOMEPAGE="https://www.kokkonen.net/tjko/projects.html" @@ -13,11 +13,18 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -RDEPEND="virtual/jpeg:0" +RDEPEND="media-libs/libjpeg-turbo:=" DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-1.6.0-parallel_install.patch ) +src_prepare() { + default + + # Clang 16 + eautoreconf +} + src_configure() { tc-export CC econf