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: dev-ruby/nio4r/
Date: Thu, 29 Feb 2024 00:50:48 +0000 (UTC)	[thread overview]
Message-ID: <1709167807.7c5bf9a42324f8c9958f7f251d0396868b3e9481.sam@gentoo> (raw)

commit:     7c5bf9a42324f8c9958f7f251d0396868b3e9481
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 00:50:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 00:50:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5bf9a4

dev-ruby/nio4r: filter LTO, no-SA

Broken quite badly via bundled liebv, no upstream bug tracker for libev AFAICT. And
broken in many bundled copies all over the place (which are modified...)

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

 dev-ruby/nio4r/nio4r-2.5.9.ebuild | 8 ++++++--
 dev-ruby/nio4r/nio4r-2.6.1.ebuild | 8 ++++++--
 dev-ruby/nio4r/nio4r-2.7.0.ebuild | 8 ++++++--
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/dev-ruby/nio4r/nio4r-2.5.9.ebuild b/dev-ruby/nio4r/nio4r-2.5.9.ebuild
index c9d939af7596..a6b35ed1088d 100644
--- a/dev-ruby/nio4r/nio4r-2.5.9.ebuild
+++ b/dev-ruby/nio4r/nio4r-2.5.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
 
 RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb)
 
-inherit ruby-fakegem
+inherit flag-o-matic ruby-fakegem
 
 DESCRIPTION="A high performance selector API for monitoring IO objects"
 HOMEPAGE="https://github.com/socketry/nio4r"
@@ -26,6 +26,10 @@ IUSE=""
 # patches the tests fail: https://github.com/celluloid/nio4r/issues/15
 
 all_ruby_prepare() {
+	# See bug #855869 and its large number of dupes in bundled libev copies.
+	filter-lto
+	append-flags -fno-strict-aliasing
+
 	sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
 	sed -e '/extension/ s:^:#:' -i Rakefile || die
 }

diff --git a/dev-ruby/nio4r/nio4r-2.6.1.ebuild b/dev-ruby/nio4r/nio4r-2.6.1.ebuild
index 381b1a8e8790..6fe4a3605cb9 100644
--- a/dev-ruby/nio4r/nio4r-2.6.1.ebuild
+++ b/dev-ruby/nio4r/nio4r-2.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ RUBY_FAKEGEM_EXTRADOC="changes.md readme.md"
 
 RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb)
 
-inherit ruby-fakegem
+inherit flag-o-matic ruby-fakegem
 
 DESCRIPTION="A high performance selector API for monitoring IO objects"
 HOMEPAGE="https://github.com/socketry/nio4r"
@@ -26,6 +26,10 @@ IUSE=""
 # patches the tests fail: https://github.com/celluloid/nio4r/issues/15
 
 all_ruby_prepare() {
+	# See bug #855869 and its large number of dupes in bundled libev copies.
+	filter-lto
+	append-flags -fno-strict-aliasing
+
 	sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
 	sed -e '/extension/ s:^:#:' -i Rakefile || die
 }

diff --git a/dev-ruby/nio4r/nio4r-2.7.0.ebuild b/dev-ruby/nio4r/nio4r-2.7.0.ebuild
index 6bde0afc66c8..8196c914fa21 100644
--- a/dev-ruby/nio4r/nio4r-2.7.0.ebuild
+++ b/dev-ruby/nio4r/nio4r-2.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ RUBY_FAKEGEM_EXTRADOC="changes.md readme.md"
 
 RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb)
 
-inherit ruby-fakegem
+inherit flag-o-matic ruby-fakegem
 
 DESCRIPTION="A high performance selector API for monitoring IO objects"
 HOMEPAGE="https://github.com/socketry/nio4r"
@@ -26,6 +26,10 @@ IUSE=""
 # patches the tests fail: https://github.com/celluloid/nio4r/issues/15
 
 all_ruby_prepare() {
+	# See bug #855869 and its large number of dupes in bundled libev copies.
+	filter-lto
+	append-flags -fno-strict-aliasing
+
 	sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
 	sed -e '/extension/ s:^:#:' -i Rakefile || die
 }


             reply	other threads:[~2024-02-29  0:50 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29  0:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-01 18:01 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/nio4r/ Sam James
2025-04-01 18:01 Sam James
2025-04-01 16:57 Hans de Graaff
2024-10-30  6:17 Hans de Graaff
2024-10-29  6:25 Hans de Graaff
2024-10-29  6:25 Hans de Graaff
2024-10-06 13:30 Jakov Smolić
2024-10-06 11:18 Sam James
2024-07-15  8:33 Hans de Graaff
2024-03-21  6:42 Hans de Graaff
2023-12-31 14:36 Hans de Graaff
2023-12-31 14:36 Hans de Graaff
2023-12-01  6:18 Hans de Graaff
2023-11-21  6:40 Hans de Graaff
2023-11-17  7:46 Hans de Graaff
2023-11-17  7:46 Hans de Graaff
2023-04-03  0:47 Sam James
2023-04-03  0:47 Sam James
2022-12-03  7:43 Hans de Graaff
2022-04-02  8:03 Agostino Sarubbo
2022-03-31 12:33 Jakov Smolić
2022-03-31  6:15 Hans de Graaff
2021-11-08  2:51 Yixun Lan
2021-10-28  5:27 Hans de Graaff
2021-08-04  6:41 Hans de Graaff
2021-05-10  4:35 Hans de Graaff
2021-03-04  6:55 Hans de Graaff
2021-02-13  7:55 Hans de Graaff
2021-02-06  6:59 Hans de Graaff
2021-02-04  7:58 Agostino Sarubbo
2021-02-03 23:55 Thomas Deutschmann
2021-02-03  6:45 Hans de Graaff
2020-09-16  5:55 Hans de Graaff
2020-09-11  5:14 Hans de Graaff
2020-09-08  5:48 Hans de Graaff
2020-09-05  8:01 Hans de Graaff
2020-05-31  8:19 Sergei Trofimovich
2020-04-25 12:44 Sergei Trofimovich
2020-04-15 21:49 Sergei Trofimovich
2020-04-14 21:06 Sergei Trofimovich
2020-02-29  6:00 Hans de Graaff
2020-02-29  6:00 Hans de Graaff
2019-09-25  6:11 Hans de Graaff
2019-08-29  5:24 Hans de Graaff
2019-08-29  5:24 Hans de Graaff
2019-08-28  5:15 Hans de Graaff
2019-07-24 23:16 Aaron Bauman
2019-07-08  4:24 Hans de Graaff
2019-01-31  7:35 Hans de Graaff
2019-01-31  7:35 Hans de Graaff
2018-05-03  4:48 Hans de Graaff
2018-04-19 19:37 Hans de Graaff
2018-04-19 19:37 Hans de Graaff
2018-03-25 17:58 Sergei Trofimovich
2018-03-18  6:25 Hans de Graaff
2018-02-07  5:52 Thomas Deutschmann
2017-12-28  6:34 Hans de Graaff
2017-09-12  8:18 Sergei Trofimovich
2017-08-26  8:27 Hans de Graaff
2017-08-26  8:27 Hans de Graaff
2017-06-21  7:27 Hans de Graaff
2017-05-29  4:31 Hans de Graaff
2017-04-16  6:40 Hans de Graaff
2017-01-31  7:05 Hans de Graaff
2016-07-21 17:36 Hans de Graaff
2016-03-22 21:58 Manuel Rüger
2016-02-02  6:25 Hans de Graaff
2015-12-24  6:37 Hans de Graaff
2015-12-24  6:37 Hans de Graaff
2015-12-06  7:05 Hans de Graaff
2015-12-05 13:01 Markus Meier

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=1709167807.7c5bf9a42324f8c9958f7f251d0396868b3e9481.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