commit:     a73c3126a8421173437c7bb100aec8e100ae399b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 18:17:20 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 19:40:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a73c3126

media-libs/libvisio: Always build in C++14 mode

Closes: https://bugs.gentoo.org/619688
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/libvisio/libvisio-0.1.6.ebuild | 7 ++++++-
 media-libs/libvisio/libvisio-9999.ebuild  | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/media-libs/libvisio/libvisio-0.1.6.ebuild 
b/media-libs/libvisio/libvisio-0.1.6.ebuild
index 404db3604d3..ccb6e687a43 100644
--- a/media-libs/libvisio/libvisio-0.1.6.ebuild
+++ b/media-libs/libvisio/libvisio-0.1.6.ebuild
@@ -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) \

diff --git a/media-libs/libvisio/libvisio-9999.ebuild 
b/media-libs/libvisio/libvisio-9999.ebuild
index 79aa9cdc018..1f7cc355b43 100644
--- a/media-libs/libvisio/libvisio-9999.ebuild
+++ b/media-libs/libvisio/libvisio-9999.ebuild
@@ -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) \

Reply via email to