commit:     13d1897a864185b16ce8bcf8256d689efdf35372
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  4 10:47:07 2021 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 10:48:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13d1897a

dev-libs/bitset: revision bump

Yet another attemp to fix CFLAGS handling

Bug: https://bugs.gentoo.org/815637
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org>

 dev-libs/bitset/{bitset-2.8.4-r2.ebuild => bitset-2.8.4-r3.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-libs/bitset/bitset-2.8.4-r2.ebuild 
b/dev-libs/bitset/bitset-2.8.4-r3.ebuild
similarity index 87%
rename from dev-libs/bitset/bitset-2.8.4-r2.ebuild
rename to dev-libs/bitset/bitset-2.8.4-r3.ebuild
index a40c6612612..a05daebd637 100644
--- a/dev-libs/bitset/bitset-2.8.4-r2.ebuild
+++ b/dev-libs/bitset/bitset-2.8.4-r3.ebuild
@@ -26,6 +26,11 @@ DOCS=( README.md )
 
 src_prepare() {
        default
+
+       # Disable aggressive optimization, which does not respect CFLAGS
+       # with new autoconf, bug #815637
+       sed -i -e '/AX_CC_MAXOPT/d' configure.ac || die
+
        eautoreconf
 }
 

Reply via email to