Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libcmis/
Date: Mon, 19 Feb 2018 19:43:16
Message-Id: 1519069211.12d356d589aa327bbee1339b23ac144c977f4e6c.soap@gentoo
1 commit: 12d356d589aa327bbee1339b23ac144c977f4e6c
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 19 18:17:20 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 19 19:40:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d356d5
7
8 dev-cpp/libcmis: Always build in C++14 mode
9
10 Closes: https://bugs.gentoo.org/618778
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild | 7 +++++--
14 dev-cpp/libcmis/libcmis-9999.ebuild | 7 +++++--
15 2 files changed, 10 insertions(+), 4 deletions(-)
16
17 diff --git a/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild b/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild
18 index ef3f0775329..8377602271d 100644
19 --- a/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild
20 +++ b/dev-cpp/libcmis/libcmis-0.5.2_pre20160820-r1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -14,7 +14,7 @@ elif [[ ${PV} = *_pre* ]]; then
28 else
29 SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
30 fi
31 -inherit alternatives autotools ${SCM_ECLASS}
32 +inherit alternatives autotools flag-o-matic ${SCM_ECLASS}
33 unset SCM_ECLASS
34
35 DESCRIPTION="C++ client library for the CMIS interface"
36 @@ -59,6 +59,9 @@ src_prepare() {
37 }
38
39 src_configure() {
40 + # bug 618778
41 + append-cxxflags -std=c++14
42 +
43 econf \
44 --program-suffix=-${SLOT} \
45 --disable-werror \
46
47 diff --git a/dev-cpp/libcmis/libcmis-9999.ebuild b/dev-cpp/libcmis/libcmis-9999.ebuild
48 index 603a0334c7d..78e5b1990a3 100644
49 --- a/dev-cpp/libcmis/libcmis-9999.ebuild
50 +++ b/dev-cpp/libcmis/libcmis-9999.ebuild
51 @@ -1,4 +1,4 @@
52 -# Copyright 1999-2017 Gentoo Foundation
53 +# Copyright 1999-2018 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55
56 EAPI=6
57 @@ -14,7 +14,7 @@ elif [[ ${PV} = *_pre* ]]; then
58 else
59 SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
60 fi
61 -inherit alternatives autotools ${SCM_ECLASS}
62 +inherit alternatives autotools flag-o-matic ${SCM_ECLASS}
63 unset SCM_ECLASS
64
65 DESCRIPTION="C++ client library for the CMIS interface"
66 @@ -57,6 +57,9 @@ src_prepare() {
67 }
68
69 src_configure() {
70 + # bug 618778
71 + append-cxxflags -std=c++14
72 +
73 econf \
74 --program-suffix=-${SLOT} \
75 --disable-werror \