public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/
Date: Thu, 28 Mar 2024 00:45:03 +0000 (UTC)	[thread overview]
Message-ID: <1711586664.a52ffb23da7bad04e820362f34e61874f723f656.sam@gentoo> (raw)

commit:     a52ffb23da7bad04e820362f34e61874f723f656
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 00:44:15 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 00:44:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52ffb23

net-libs/rustls-ffi: backport filter-lto

Closes: https://bugs.gentoo.org/927231
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild | 11 +++++++++--
 net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild  | 11 +++++++++--
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild
index 40dad3cb1c45..db915dbc209b 100644
--- a/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild
+++ b/net-libs/rustls-ffi/rustls-ffi-0.10.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -46,7 +46,7 @@ CRATES="
 	winnow-0.4.1
 "
 
-inherit cargo multilib-minimal rust-toolchain
+inherit cargo flag-o-matic multilib-minimal rust-toolchain
 
 DESCRIPTION="C-to-rustls bindings"
 HOMEPAGE="https://github.com/rustls/rustls-ffi"
@@ -76,6 +76,13 @@ src_prepare() {
 	multilib_copy_sources
 }
 
+src_configure() {
+	# bug #927231
+	filter-lto
+
+	multilib-minimal_src_configure
+}
+
 multilib_src_compile() {
 	local cargoargs=(
 		--library-type=cdylib

diff --git a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
index aef6d683129a..bf9f34bba51c 100644
--- a/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
+++ b/net-libs/rustls-ffi/rustls-ffi-0.9.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -66,7 +66,7 @@ CRATES="
 	winapi-x86_64-pc-windows-gnu-0.4.0
 "
 
-inherit cargo multilib-minimal rust-toolchain
+inherit cargo flag-o-matic multilib-minimal rust-toolchain
 
 DESCRIPTION="C-to-rustls bindings"
 HOMEPAGE="https://github.com/rustls/rustls-ffi"
@@ -95,6 +95,13 @@ src_prepare() {
 	multilib_copy_sources
 }
 
+src_configure() {
+	# bug #927231
+	filter-lto
+
+	multilib-minimal_src_configure
+}
+
 multilib_src_compile() {
 	local cargoargs=(
 		--library-type=cdylib


             reply	other threads:[~2024-03-28  0:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28  0:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09 13:10 [gentoo-commits] repo/gentoo:master commit in: net-libs/rustls-ffi/ Sam James
2024-11-09 13:00 Sam James
2024-11-08  4:07 Matt Jolly
2024-11-08  4:07 Matt Jolly
2024-11-08  3:49 Sam James
2024-11-08  3:47 Sam James
2024-04-20  4:42 Sam James
2024-04-20  4:42 Sam James
2024-04-01  3:46 Sam James
2024-03-28  0:45 Sam James
2023-09-25  4:23 Sam James
2023-09-25  4:05 Sam James

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=1711586664.a52ffb23da7bad04e820362f34e61874f723f656.sam@gentoo \
    --to=sam@gentoo.org \
    --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