--- /usr/portage/media-video/dirac/dirac-1.0.2-r1.ebuild 2017-02-28 21:50:50.000000000 +0200 +++ /usr/local/portage/media-video/dirac/dirac-1.0.2-r1.ebuild 2017-06-05 20:37:35.553291076 +0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit autotools eutils multilib-minimal +inherit autotools eutils flag-o-matic multilib-minimal DESCRIPTION="Open Source video codec" HOMEPAGE="http://dirac.sourceforge.net/" @@ -24,6 +24,7 @@ DOCS=( AUTHORS ChangeLog NEWS README TODO ) src_prepare() { + append-cxxflags "-std=c++11" epatch "${FILESDIR}"/${PN}-0.5.2-doc.patch AT_M4DIR="m4" eautoreconf export VARTEXFONTS="${T}/fonts"