From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D7DF158020 for ; Sun, 25 Dec 2022 18:51:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B40ECE08D3; Sun, 25 Dec 2022 18:51:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C8EFE08D3 for ; Sun, 25 Dec 2022 18:51:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3768340E03 for ; Sun, 25 Dec 2022 18:51:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CE8E6F2 for ; Sun, 25 Dec 2022 18:51:53 +0000 (UTC) From: "Philippe Chaintreuil" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Philippe Chaintreuil" Message-ID: <1671994046.405b57ede2f5aec3e91b7da8ea88398a9c756440.gentoo_bugs_peep@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-mail/dovecot-fts-xapian/files/, net-mail/dovecot-fts-xapian/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-mail/dovecot-fts-xapian/dovecot-fts-xapian-1.5.5.ebuild net-mail/dovecot-fts-xapian/dovecot-fts-xapian-9999.ebuild net-mail/dovecot-fts-xapian/files/bug-887887_allow-O2-override.patch X-VCS-Directories: net-mail/dovecot-fts-xapian/ net-mail/dovecot-fts-xapian/files/ X-VCS-Committer: gentoo_bugs_peep X-VCS-Committer-Name: Philippe Chaintreuil X-VCS-Revision: 405b57ede2f5aec3e91b7da8ea88398a9c756440 X-VCS-Branch: dev Date: Sun, 25 Dec 2022 18:51:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 925ab56a-e895-4bb8-812c-a90c2b325f1b X-Archives-Hash: 2bcbcdd47d824e8a99ef51ced22067d5 commit: 405b57ede2f5aec3e91b7da8ea88398a9c756440 Author: Philippe Chaintreuil parallaxshift com> AuthorDate: Sun Dec 25 18:37:10 2022 +0000 Commit: Philippe Chaintreuil parallaxshift 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 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"