commit:     e2119b4f0306f3133015e42fb55dcd442dfecf40
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Fri Jan 31 11:16:23 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 13:10:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2119b4f

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 <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40397
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 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 ff1a874152be..220614e3439a 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 c295ae9d00bc..220614e3439a 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 f872ffcbf544..21069e67d297 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[@]}"
 }
 

Reply via email to