summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-01-12 22:51:46 +0100
committerDavid Seifert <soap@gentoo.org>2016-01-12 22:52:10 +0100
commit8e175dc223f4ea8e76895378ecac80670f5f5a5e (patch)
tree1bbf39426d5a39d3e08c875b8eac9a4611f03726 /sci-libs/mathgl
parentapp-text/zathura: Add USE=synctex and update live euild (bug 571346). (diff)
downloadgentoo-8e175dc223f4ea8e76895378ecac80670f5f5a5e.tar.gz
gentoo-8e175dc223f4ea8e76895378ecac80670f5f5a5e.tar.bz2
gentoo-8e175dc223f4ea8e76895378ecac80670f5f5a5e.zip
sci-libs/mathgl: fix #564204
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-libs/mathgl')
-rw-r--r--sci-libs/mathgl/mathgl-2.3.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/mathgl/mathgl-2.3.3.ebuild b/sci-libs/mathgl/mathgl-2.3.3.ebuild
index fcf734c115e9..f75fe4b357a1 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