Diff libintl-0.21.1 with a libintl-0.22-r1

/usr/portage/dev-libs/libintl/libintl-0.22-r1.ebuild 2023-10-09 14:52:29.520368351 +0300
3 3

  
4 4
# Note: Keep version bumps in sync with sys-devel/gettext.
5 5

  
6
EAPI=7
6
EAPI=8
7 7

  
8 8
MY_P="gettext-${PV}"
9 9
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc
......
17 17

  
18 18
LICENSE="LGPL-2.1+"
19 19
SLOT="0"
20
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
20
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
21 21
IUSE="static-libs +threads"
22 22

  
23 23
DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]"
24 24
# Block C libraries known to provide libintl.
25
RDEPEND="${DEPEND}
25
RDEPEND="
26
	${DEPEND}
26 27
	!sys-libs/glibc
27 28
	!sys-libs/musl
28
	!<sys-devel/gettext-0.19.6-r1"
29
	!<sys-devel/gettext-0.19.6-r1
30
"
29 31
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gettext )"
30 32

  
31 33
src_prepare() {
32 34
	default
33 35

  
34 36
	cd "${WORKDIR}/${MY_P}" || die
35
	eapply "${FILESDIR}"/${P}-java-autoconf.patch
36 37

  
37 38
	# gettext-0.21.1-java-autoconf.patch changes
38 39
	# gettext-{runtime,tools}/configure.ac and the corresponding
39 40
	# configure scripts. Avoid regenerating other autotools output.
40
	touch -c gettext-{runtime,tools}/{aclocal.m4,Makefile.in,config.h.in,configure} || die
41

  
41
	#touch -c gettext-{runtime,tools}/{aclocal.m4,Makefile.in,config.h.in,configure} || die
42 42
	# Makefile.am adds a dependency on gettext-{runtime,tools}/configure.ac
43
	touch -c configure || die
43
	#touch -c configure || die
44 44

  
45 45
	cd "${S}" || die
46 46

  
......
70 70
		$(use_enable static-libs static)
71 71
		$(use_enable threads)
72 72
	)
73

  
74
	# macOS linker/libtool seems to automatically hide all the symbols.
75
	# libintl only works with a symbol list and without -fvisibility=hidden.
76
	[[ ${CHOST} == *-darwin* ]] && export gl_cv_cc_visibility=no
77

  
73 78
	ECONF_SOURCE="${S}" econf "${myconf[@]}"
74 79
}
75 80

  
Thank you!