From: "Philippe Chaintreuil" <gentoo_bugs_peep@parallaxshift.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-mail/dovecot-fts-xapian/files/, net-mail/dovecot-fts-xapian/
Date: Sun, 25 Dec 2022 18:51:53 +0000 (UTC) [thread overview]
Message-ID: <1671994046.405b57ede2f5aec3e91b7da8ea88398a9c756440.gentoo_bugs_peep@gentoo> (raw)
commit: 405b57ede2f5aec3e91b7da8ea88398a9c756440
Author: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
AuthorDate: Sun Dec 25 18:37:10 2022 +0000
Commit: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
CommitDate: Sun Dec 25 18:47:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=405b57ed
net-mail/dovecot-fts-xapian: Allow -O2 to be overriden
Closes: https://bugs.gentoo.org/887887
Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com>
net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild | 4 ++++
net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild | 4 ++++
.../files/bug-887887_allow-O2-override.patch | 11 +++++++++++
3 files changed, 19 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 7e7f7c998..b07035152 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
@@ -24,6 +24,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+PATCHES=(
+ ${FILESDIR}/bug-887887_allow-O2-override.patch
+)
+
src_prepare() {
default
eautoreconf
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 ac1085894..1267136e3 100644
--- a/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild
+++ b/net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild
@@ -36,6 +36,10 @@ if [ "$PV" = 9999 ] ; then
"
fi
+PATCHES=(
+ ${FILESDIR}/bug-887887_allow-O2-override.patch
+)
+
src_prepare() {
default
eautoreconf
diff --git a/net-mail/dovecot-fts-xapian/files/bug-887887_allow-O2-override.patch b/net-mail/dovecot-fts-xapian/files/bug-887887_allow-O2-override.patch
new file mode 100644
index 000000000..5c4b95fb3
--- /dev/null
+++ b/net-mail/dovecot-fts-xapian/files/bug-887887_allow-O2-override.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac 2022-04-17 07:41:11.000000000 -0400
++++ b/configure.ac 2022-12-25 13:24:02.551681208 -0500
+@@ -21,7 +21,7 @@
+ DC_DOVECOT
+ DC_DOVECOT_MODULEDIR
+ LIBDOVECOT_INCLUDE="$LIBDOVECOT_INCLUDE"
+-CFLAGS="$CFLAGS $EXTRA_CFLAGS $DOVECOT_FLAGS -O2"
++CFLAGS="-O2 $CFLAGS $EXTRA_CFLAGS $DOVECOT_FLAGS"
+ LIBS="$DOVECOT_LIBS"
+ BINARY_LDFLAGS="$PIE_LDFLAGS $RELRO_LDFLAGS"
+ BINARY_CFLAGS="$PIE_CFLAGS"
reply other threads:[~2022-12-25 18:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1671994046.405b57ede2f5aec3e91b7da8ea88398a9c756440.gentoo_bugs_peep@gentoo \
--to=gentoo_bugs_peep@parallaxshift.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox