1 |
commit: 0972d3fbe34fee062f582a880a1490a349877afa |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 11:20:34 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 12:22:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0972d3fb |
7 |
|
8 |
dev-libs/log4cplus: Force C++11 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/648714 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
dev-libs/log4cplus/log4cplus-1.2.0.ebuild | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild |
17 |
index bb4a84c08d9..07cf88b00eb 100644 |
18 |
--- a/dev-libs/log4cplus/log4cplus-1.2.0.ebuild |
19 |
+++ b/dev-libs/log4cplus/log4cplus-1.2.0.ebuild |
20 |
@@ -3,6 +3,8 @@ |
21 |
|
22 |
EAPI=6 |
23 |
|
24 |
+inherit flag-o-matic |
25 |
+ |
26 |
DESCRIPTION="C++ port of the Log for Java (log4j) logging library" |
27 |
HOMEPAGE="http://log4cplus.sourceforge.net/ https://github.com/log4cplus/log4cplus" |
28 |
SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.bz2" |
29 |
@@ -24,6 +26,10 @@ DEPEND="${RDEPEND} |
30 |
PATCHES=( "${FILESDIR}/${PN}-1.2.0-fix-c++14.patch" ) |
31 |
|
32 |
src_configure() { |
33 |
+ # bug 648714 |
34 |
+ # Qt5 now requires C++11 |
35 |
+ append-cxxflags -std=c++11 |
36 |
+ |
37 |
econf \ |
38 |
--disable-static \ |
39 |
$(use_with iconv) \ |