summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-15 06:50:19 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-15 06:57:49 +0100
commitd102abe028aad19d4f3fb10b627b7005b2e117c9 (patch)
treecf661a1231d7683461dd611dfb66ff0c5eaa602e
parentwww-client/firefox-bin: drop 106.0.5 (diff)
downloadgentoo-d102abe028aad19d4f3fb10b627b7005b2e117c9.tar.gz
gentoo-d102abe028aad19d4f3fb10b627b7005b2e117c9.tar.bz2
gentoo-d102abe028aad19d4f3fb10b627b7005b2e117c9.zip
dev-python/libsass-python: Remove insane CC opts again
Bug: https://bugs.gentoo.org/881339 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/libsass-python/libsass-python-0.22.0-r1.ebuild (renamed from dev-python/libsass-python/libsass-python-0.22.0.ebuild)3
1 files changed, 3 insertions, 0 deletions
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
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() {