commit:     4655cbda0d84d7bb645611d14839607140f1acac
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:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4655cbda

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

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

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

diff --git a/media-libs/libcdr/libcdr-0.1.4.ebuild 
b/media-libs/libcdr/libcdr-0.1.4.ebuild
index b114fa2e952..2e4ecae4b77 100644
--- a/media-libs/libcdr/libcdr-0.1.4.ebuild
+++ b/media-libs/libcdr/libcdr-0.1.4.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/libcdr.git";
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
@@ -37,6 +39,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619448
+       append-cxxflags -std=c++14
+
        econf \
                --disable-werror \
                $(use_with doc docs) \

diff --git a/media-libs/libcdr/libcdr-9999.ebuild 
b/media-libs/libcdr/libcdr-9999.ebuild
index a7f1ed801fd..3c04d584f9e 100644
--- a/media-libs/libcdr/libcdr-9999.ebuild
+++ b/media-libs/libcdr/libcdr-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/libcdr.git";
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
@@ -37,6 +39,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug 619448
+       append-cxxflags -std=c++14
+
        econf \
                --disable-werror \
                $(use_with doc docs) \

Reply via email to