commit:     891751d5942d911a86930a0563171dfbe45103a0
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 12:21:34 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 26 12:22:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891751d5

dev-python/pyicu: Force C++11

Closes: https://bugs.gentoo.org/651748
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pyicu/pyicu-2.0.3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyicu/pyicu-2.0.3.ebuild 
b/dev-python/pyicu/pyicu-2.0.3.ebuild
index 4dc247fee2d..37fb2ef11b9 100644
--- a/dev-python/pyicu/pyicu-2.0.3.ebuild
+++ b/dev-python/pyicu/pyicu-2.0.3.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
 
 MY_PN="PyICU"
 MY_P="${MY_PN}-${PV}"
@@ -30,6 +30,14 @@ S="${WORKDIR}/${MY_P}"
 
 DOCS=(CHANGES CREDITS README.md)
 
+python_prepare_all() {
+       # bug 651748
+       # due to ICU 59 requiring C++11 now
+       append-cxxflags -std=c++11
+
+       distutils-r1_python_prepare_all
+}
+
 python_test() {
        if [[ ${EPYTHON} == python2* ]]; then
                # See Bug #644226

Reply via email to