summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-05-26 15:13:54 +0200
committerDavid Seifert <soap@gentoo.org>2018-05-27 00:18:16 +0200
commita3fb11b6bb348d9b15000f5f10907ffb76b4e64e (patch)
tree9f6a06dab326d57c27b1740d3edfc42bbc58fee6
parentmedia-libs/skstream: Force C++11 (diff)
downloadgentoo-a3fb11b6bb348d9b15000f5f10907ffb76b4e64e.tar.gz
gentoo-a3fb11b6bb348d9b15000f5f10907ffb76b4e64e.tar.bz2
gentoo-a3fb11b6bb348d9b15000f5f10907ffb76b4e64e.zip
dev-libs/librevenge: Force C++11
Closes: https://bugs.gentoo.org/651264 Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-libs/librevenge/librevenge-0.0.4-r1.ebuild9
-rw-r--r--dev-libs/librevenge/librevenge-9999.ebuild11
2 files changed, 13 insertions, 7 deletions
diff --git a/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild b/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
index 46b91347dad2..41207196a523 100644
--- a/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
+++ b/dev-libs/librevenge/librevenge-0.0.4-r1.ebuild
@@ -3,15 +3,15 @@
EAPI=6
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal
DESCRIPTION="A helper library for REVerse ENGineered formats filters"
-HOMEPAGE="http://sf.net/p/libwpd/librevenge"
+HOMEPAGE="https://sf.net/p/libwpd/librevenge"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
inherit git-r3 autotools
else
- SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
+ SRC_URI="https://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 x86 ~x86-fbsd"
fi
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
src_prepare() {
default
[[ ${PV} = *9999 ]] && eautoreconf
+
+ # bug 651264
+ append-cxxflags -std=c++11
}
multilib_src_configure() {
diff --git a/dev-libs/librevenge/librevenge-9999.ebuild b/dev-libs/librevenge/librevenge-9999.ebuild
index b9e35af3318d..c40659225a0b 100644
--- a/dev-libs/librevenge/librevenge-9999.ebuild
+++ b/dev-libs/librevenge/librevenge-9999.ebuild
@@ -1,17 +1,17 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal
DESCRIPTION="A helper library for REVerse ENGineered formats filters"
-HOMEPAGE="http://sf.net/p/libwpd/librevenge"
+HOMEPAGE="https://sf.net/p/libwpd/librevenge"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge"
inherit git-r3 autotools
else
- SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
+ SRC_URI="https://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~x86 ~x86-fbsd"
fi
@@ -31,6 +31,9 @@ DEPEND="${RDEPEND}
src_prepare() {
default
[[ ${PV} = *9999 ]] && eautoreconf
+
+ # bug 651264
+ append-cxxflags -std=c++11
}
multilib_src_configure() {