media-libs/libvisio: Always build in C++14 mode
authorDavid Seifert <soap@gentoo.org>
Mon, 19 Feb 2018 18:17:20 +0000 (19:17 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 19 Feb 2018 19:40:32 +0000 (20:40 +0100)
Closes: https://bugs.gentoo.org/619688
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-libs/libvisio/libvisio-0.1.6.ebuild
media-libs/libvisio/libvisio-9999.ebuild

index 404db3604d3a56d7168623e9ff2214646f83112b..ccb6e687a432bac76b455dd9207d8d1fd7dc1a5e 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
+inherit flag-o-matic
+
 EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git"
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
@@ -38,6 +40,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619688
+       append-cxxflags -std=c++14
+
        econf \
                $(use_with doc docs) \
                $(use_enable static-libs static) \
index 79aa9cdc01887e9218ccb3aabdd208e60a18b86e..1f7cc355b43d1e341e121010ac2cbf8a916433c9 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
+inherit flag-o-matic
+
 EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git"
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
@@ -38,6 +40,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619688
+       append-cxxflags -std=c++14
+
        econf \
                $(use_with doc docs) \
                $(use_enable static-libs static) \