From a3fb11b6bb348d9b15000f5f10907ffb76b4e64e Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 26 May 2018 15:13:54 +0200 Subject: dev-libs/librevenge: Force C++11 Closes: https://bugs.gentoo.org/651264 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- dev-libs/librevenge/librevenge-0.0.4-r1.ebuild | 9 ++++++--- dev-libs/librevenge/librevenge-9999.ebuild | 11 +++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'dev-libs/librevenge') 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() { -- cgit v1.2.3-65-gdbad