--- qxmledit-0.8.8.1.ebuild 2015-09-01 21:01:02.000000000 +0200 +++ qxmledit-0.9.2.ebuild 2016-01-22 21:14:24.839777906 +0100 @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -31,6 +31,10 @@ DOCS="AUTHORS NEWS README ROADMAP TODO" S="${WORKDIR}/${PN}-${MY_PV}" src_prepare() { + + # fix -Werror problem + epatch "${FILESDIR}"/qmake-cxxflags-werror.patch + # fix doc dir sed -i "/INST_DOC_DIR = / s|/opt/${PN}|/usr/share/doc/${PF}|" \ src/QXmlEdit{,Widget}.pro src/sessions/QXmlEditSessions.pro || \