Diff lcms-2.13.1-r3 with a lcms-2.14-r4

/usr/portage/media-libs/lcms/lcms-2.14-r4.ebuild 2023-10-09 14:52:31.676368405 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
13 13
LICENSE="MIT"
14 14
SLOT="2"
15 15
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
16
IUSE="doc jpeg static-libs test +threads tiff zlib"
16
IUSE="doc jpeg static-libs tiff zlib"
17 17
REQUIRED_USE="tiff? ( zlib )"
18 18

  
19
RESTRICT="!test? ( test )"
20

  
21 19
RDEPEND="
22 20
	jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
23 21
	tiff? ( >=media-libs/tiff-4.0.3-r6:=[${MULTILIB_USEDEP}] )
......
25 23
"
26 24
DEPEND="${RDEPEND}"
27 25

  
28
PATCHES=(
29
	"${FILESDIR}"/${PN}-2.13.1-fix-configure-bashisms.patch
30
	"${FILESDIR}"/${PN}-2.13.1-clang-15-configure.patch
31
)
32

  
33 26
src_prepare() {
34 27
	default
35 28

  
36
	# TODO: Swap back to elibtoolize once dropped eautoreconf (for bashism patch)
29
	# TODO: switch back to elibtoolize once https://github.com/mm2/Little-CMS/issues/339
30
	# is fixed.
37 31
	# for Prefix/Solaris
38 32
	#elibtoolize
39 33
	eautoreconf
......
41 35

  
42 36
multilib_src_configure() {
43 37
	local myeconfargs=(
38
		--with-threads
44 39
		$(use_with jpeg)
45 40
		$(use_enable static-libs static)
46
		$(use_with threads)
47 41
		$(use_with tiff)
48 42
		$(use_with zlib)
49 43
	)
Thank you!