--- /usr/portage/app-text/ps2pkm/ps2pkm-1.5_p20140525.ebuild 2015-08-09 16:34:50.000000000 -0400 +++ /usr/local/portage/app-text/ps2pkm/ps2pkm-1.5_p20140525.ebuild 2015-09-27 09:49:21.000000000 -0400 @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=5 -inherit flag-o-matic toolchain-funcs +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="Tool that converts a PostScript type1 font into a corresponding TeX PK font" HOMEPAGE="http://tug.org/texlive/" @@ -26,6 +26,10 @@ S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} DOCS=( "ChangeLog" "CHANGES.type1" "README" "README.14m" "README.type1" ) +src_prepare() { + epatch "${FILESDIR}/${PN}-1.5-format-security.patch" +} + src_configure() { has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)" econf --with-system-kpathsea