Diff fontconfig-2.14.2 with a fontconfig-2.14.2-r2

/usr/portage/media-libs/fontconfig/fontconfig-2.14.2-r2.ebuild 2023-10-09 14:52:31.664368405 +0300
128 128
		-Ddefault-fonts-dirs="${EPREFIX}"/usr/share/fonts
129 129
		-Dadditional-fonts-dirs=$(IFS=, ; echo "${addfonts[*]}" )
130 130
		-Dtemplate-dir="${EPREFIX}"/etc/fonts/conf.avail
131

  
132
		# Let users choose via eselect-fontconfig. See bug #900681
133
		# and https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/356.
134
		-Ddefault-sub-pixel-rendering=none
131 135
	)
132 136

  
133 137
	meson_src_configure
......
204 208

  
205 209
	readme.gentoo_print_elog
206 210

  
211
	local ver
212
	for ver in ${REPLACING_VERSIONS} ; do
213
		# 2.14.2 and 2.14.2-r1 included the bad 10-sub-pixel-none.conf
214
		if ver_test ${ver} -lt 2.14.2-r2 && ver_test ${ver} -ge 2.14.2 ; then
215
			if [[ -e "${EROOT}"/etc/fonts/conf.d/10-sub-pixel-none.conf ]] ; then
216
				einfo "Deleting 10-sub-pixel-none.conf from bad fontconfig-2.14.2 (bug #900681)"
217
				rm "${EROOT}"/etc/fonts/conf.d/10-sub-pixel-none.conf || die
218
			fi
219
		fi
220
	done
221

  
207 222
	if [[ -z ${ROOT} ]] ; then
208 223
		multilib_pkg_postinst() {
209 224
			ebegin "Creating global font cache for ${ABI}"
Thank you!