summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-02-19 19:17:20 +0100
committerDavid Seifert <soap@gentoo.org>2018-02-19 20:40:20 +0100
commitde7baa46c52d1a9ba69e466ed567b19fb5d82dc8 (patch)
treea9615c1360501e66a6efa36ad069973488f1c25d /media-gfx
parentdev-libs/collada-dom: Always build in C++14 mode (diff)
downloadgentoo-de7baa46c52d1a9ba69e466ed567b19fb5d82dc8.tar.gz
gentoo-de7baa46c52d1a9ba69e466ed567b19fb5d82dc8.tar.bz2
gentoo-de7baa46c52d1a9ba69e466ed567b19fb5d82dc8.zip
media-gfx/freepv: Always build in C++14 mode
Closes: https://bugs.gentoo.org/618856 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/freepv/freepv-0.3.0-r5.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/media-gfx/freepv/freepv-0.3.0-r5.ebuild b/media-gfx/freepv/freepv-0.3.0-r5.ebuild
index 6188c0ed162f..018aec18a7dd 100644
--- a/media-gfx/freepv/freepv-0.3.0-r5.ebuild
+++ b/media-gfx/freepv/freepv-0.3.0-r5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit cmake-utils
+inherit cmake-utils flag-o-matic
DESCRIPTION="Panorama viewer (Quicktime, PangeaVR, GLPanoView formats)"
HOMEPAGE="http://freepv.sourceforge.net/"
@@ -41,3 +41,10 @@ src_prepare() {
sed -e 's:^INSTALL(.*)::' \
-i src/libfreepv/CMakeLists.txt || die
}
+
+src_configure() {
+ # bug 618856
+ append-cxxflags -std=c++14
+
+ cmake-utils_src_configure
+}