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/facter/files/, dev-ruby/facter/
Date: Fri, 10 Jun 2022 02:45:18 +0000 (UTC)	[thread overview]
Message-ID: <1654828021.1ca73aff9416bdaf4960ad351a54f723a1083fcd.sam@gentoo> (raw)

commit:     1ca73aff9416bdaf4960ad351a54f723a1083fcd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 10 02:16:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 10 02:27:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca73aff

dev-ruby/facter: fix build with GCC 12

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

 dev-ruby/facter/facter-3.14.23.ebuild            |  1 +
 dev-ruby/facter/files/facter-3.14.23-gcc12.patch | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/dev-ruby/facter/facter-3.14.23.ebuild b/dev-ruby/facter/facter-3.14.23.ebuild
index a8b3fb88f65b..0eeddc26c2f1 100644
--- a/dev-ruby/facter/facter-3.14.23.ebuild
+++ b/dev-ruby/facter/facter-3.14.23.ebuild
@@ -46,6 +46,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-3.14.6-fix-static-libcpp-hocon.patch
 	# be explicit about the version of rspec we test with
 	"${FILESDIR}"/${PN}-3.14.8-explicit-rspec-2.patch
+	"${FILESDIR}"/${PN}-3.14.23-gcc12.patch
 )
 
 pkg_setup() {

diff --git a/dev-ruby/facter/files/facter-3.14.23-gcc12.patch b/dev-ruby/facter/files/facter-3.14.23-gcc12.patch
new file mode 100644
index 000000000000..671b085a15b5
--- /dev/null
+++ b/dev-ruby/facter/files/facter-3.14.23-gcc12.patch
@@ -0,0 +1,10 @@
+https://bugs.gentoo.org/840116
+--- a/lib/src/facts/glib/load_average_resolver.cc
++++ b/lib/src/facts/glib/load_average_resolver.cc
+@@ -1,5 +1,6 @@
+ #include <internal/facts/glib/load_average_resolver.hpp>
+ #include <leatherman/logging/logging.hpp>
++#include <array>
+ #include <cstdlib>
+ 
+ #ifdef __sun


             reply	other threads:[~2022-06-10  2:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  2:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-10  4:42 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/facter/files/, dev-ruby/facter/ Robin H. Johnson
2020-02-18 16:40 Matthew Thode
2017-06-27 15:54 Matt Thode
2016-11-29  7:49 Robin H. Johnson
2016-05-01  1:36 Matt Thode

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=1654828021.1ca73aff9416bdaf4960ad351a54f723a1083fcd.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