From e2119b4f0306f3133015e42fb55dcd442dfecf40 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Fri, 31 Jan 2025 15:16:23 +0400 Subject: [PATCH] dev-libs/libsass: add flag-o-matic filter for flag -fno-semantic-interposition Bug: https://bugs.gentoo.org/834445 Bug: https://github.com/sass/libsass/issues/3193 Signed-off-by: NHOrus Closes: https://github.com/gentoo/gentoo/pull/40397 Signed-off-by: Nowa Ammerlaan --- dev-libs/libsass/libsass-3.6.5-r1.ebuild | 8 ++++++-- dev-libs/libsass/libsass-3.6.6.ebuild | 8 ++++++-- dev-libs/libsass/libsass-9999.ebuild | 8 ++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/dev-libs/libsass/libsass-3.6.5-r1.ebuild b/dev-libs/libsass/libsass-3.6.5-r1.ebuild index ff1a874152bee..220614e3439aa 100644 --- a/dev-libs/libsass/libsass-3.6.5-r1.ebuild +++ b/dev-libs/libsass/libsass-3.6.5-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic if [[ ${PV} = *9999 ]]; then EGIT_REPO_URI="https://github.com/sass/libsass.git" @@ -35,6 +35,10 @@ src_configure() { --enable-shared ) + # https://bugs.gentoo.org/948969 + # https://github.com/sass/libsass/issues/3193 + filter-flags -fno-semantic-interposition + econf "${myeconfargs[@]}" } diff --git a/dev-libs/libsass/libsass-3.6.6.ebuild b/dev-libs/libsass/libsass-3.6.6.ebuild index c295ae9d00bce..220614e3439aa 100644 --- a/dev-libs/libsass/libsass-3.6.6.ebuild +++ b/dev-libs/libsass/libsass-3.6.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic if [[ ${PV} = *9999 ]]; then EGIT_REPO_URI="https://github.com/sass/libsass.git" @@ -35,6 +35,10 @@ src_configure() { --enable-shared ) + # https://bugs.gentoo.org/948969 + # https://github.com/sass/libsass/issues/3193 + filter-flags -fno-semantic-interposition + econf "${myeconfargs[@]}" } diff --git a/dev-libs/libsass/libsass-9999.ebuild b/dev-libs/libsass/libsass-9999.ebuild index f872ffcbf5445..21069e67d297d 100644 --- a/dev-libs/libsass/libsass-9999.ebuild +++ b/dev-libs/libsass/libsass-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic if [[ ${PV} = *9999 ]]; then EGIT_REPO_URI="https://github.com/sass/libsass.git" @@ -35,6 +35,10 @@ src_configure() { --enable-shared ) + # https://bugs.gentoo.org/948969 + # https://github.com/sass/libsass/issues/3193 + filter-flags -fno-semantic-interposition + econf "${myeconfargs[@]}" }