commit:     f743509f25ab724e24cd8c83ad49109a52fc98ac
Author:     Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
AuthorDate: Mon Jan 23 23:47:34 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 23:49:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f743509f

net-mail/dovecot-fts-xapian: Disable hardening by default

Bug: https://bugs.gentoo.org/888751
Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com>

 net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild | 3 +++
 net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild 
b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild
index b07035152..9e8a22927 100644
--- a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild
+++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild
@@ -34,7 +34,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # Disable hardening so CFLAGS are left up to the Gentoo user
+       # https://bugs.gentoo.org/888751
        econf \
+               --enable-hardening=no \
                --with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot" \
                $( use_enable static-libs static )
 }

diff --git a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild 
b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild
index 1267136e3..ef339e39b 100644
--- a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild
+++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild
@@ -46,7 +46,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # Disable hardening so CFLAGS are left up to the Gentoo user
+       # https://bugs.gentoo.org/888751
        econf \
+               --enable-hardening=no \
                --with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot" \
                $( use_enable static-libs static )
 }

Reply via email to