Bug: https://bugs.gentoo.org/655240
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8313
--- /dev/null
+Index: configure
+===================================================================
+--- a/configure (revision 38020)
++++ b/configure (revision 38021)
+@@ -839,7 +839,8 @@
+ _macosx_finder=no
+ _macosx_bundle=auto
+ _sortsub=yes
+-_freetypeconfig='freetype-config'
++_freetypeconfig='pkg-config freetype2'
++type freetype-config >/dev/null 2>&1 && _freetypeconfig=freetype-config
+ _fribidi=auto
+ _enca=auto
+ _inet6=auto
subversion_wc_info
printf "${ESVN_WC_REVISION}" > $svf
else
+ epatch "${FILESDIR}"/${PN}-1.3.0-freetype_pkgconfig.patch #655240
epatch "${FILESDIR}"/${PN}-1.3-CVE-2016-4352.patch
fi
if [ ! -f VERSION ] ; then
subversion_wc_info
printf "${ESVN_WC_REVISION}" > $svf
else
+ eapply "${FILESDIR}"/${PN}-1.3.0-freetype_pkgconfig.patch #655240
eapply "${FILESDIR}"/${PN}-1.3-CVE-2016-4352.patch
has_version '>media-video/ffmpeg-3.5' && eapply "${FILESDIR}"/${PN}-1.3-ffmpeg4.patch
fi