commit:     8e175dc223f4ea8e76895378ecac80670f5f5a5e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 21:51:46 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 21:52:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e175dc2

sci-libs/mathgl: fix #564204

Package-Manager: portage-2.2.26

 sci-libs/mathgl/mathgl-2.3.3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/mathgl/mathgl-2.3.3.ebuild 
b/sci-libs/mathgl/mathgl-2.3.3.ebuild
index fcf734c..f75fe4b 100644
--- a/sci-libs/mathgl/mathgl-2.3.3.ebuild
+++ b/sci-libs/mathgl/mathgl-2.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -81,6 +81,8 @@ src_prepare() {
        # prevent sandbox violation
        sed -i -e 's/update-mime-database/true/' udav/CMakeLists.txt || die
        sed -i -e 's/update-desktop-database/true/' udav/CMakeLists.txt || die
+       # fix missing include, bug 564204
+       sed -i -e '/#include <QStringList>/i #include <QObject>' 
json/Backend.hpp || die
 
        use python && append-cppflags -I"$(${EPYTHON} -c 'import numpy; 
print(numpy.get_include())')"
        use wxwidgets && need-wxwidgets unicode

Reply via email to