commit:     d102abe028aad19d4f3fb10b627b7005b2e117c9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 05:50:19 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 05:57:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d102abe0

dev-python/libsass-python: Remove insane CC opts again

Bug: https://bugs.gentoo.org/881339
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{libsass-python-0.22.0.ebuild => libsass-python-0.22.0-r1.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/libsass-python/libsass-python-0.22.0.ebuild 
b/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild
similarity index 88%
rename from dev-python/libsass-python/libsass-python-0.22.0.ebuild
rename to dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild
index 939120f5558e..6365fb9fef85 100644
--- a/dev-python/libsass-python/libsass-python-0.22.0.ebuild
+++ b/dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild
@@ -41,6 +41,9 @@ src_prepare() {
        echo "${PV}" > .libsass-upstream-version || die
        distutils-r1_src_prepare
        export SYSTEM_SASS=1
+       # https://bugs.gentoo.org/881339
+       # the package is applying C++ flags to C sources
+       sed -i -e "s:'-std=gnu++0x',::" -e "s:'-lstdc++'::" setup.py || die
 }
 
 python_test() {

Reply via email to