From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-action/multimc/files/, games-action/multimc/
Date: Thu, 29 Apr 2021 08:23:30 +0000 (UTC) [thread overview]
Message-ID: <1619647707.42c4211c4cdfe5106f81a079522d7080a769c38a.mgorny@gentoo> (raw)
commit: 42c4211c4cdfe5106f81a079522d7080a769c38a
Author: YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Wed Apr 28 22:08:27 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 22:08:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42c4211c
games-action/multimc: Fix build failure with gcc-11.1.0
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>
games-action/multimc/files/multimc-0.6.12-gcc11.patch | 11 +++++++++++
games-action/multimc/multimc-0.6.12.ebuild | 1 +
2 files changed, 12 insertions(+)
diff --git a/games-action/multimc/files/multimc-0.6.12-gcc11.patch b/games-action/multimc/files/multimc-0.6.12-gcc11.patch
new file mode 100644
index 000000000..b523fa7c5
--- /dev/null
+++ b/games-action/multimc/files/multimc-0.6.12-gcc11.patch
@@ -0,0 +1,11 @@
+diff -Naur MultiMC5-0.6.12.orig/libraries/systeminfo/src/sys_unix.cpp MultiMC5-0.6.12/libraries/systeminfo/src/sys_unix.cpp
+--- MultiMC5-0.6.12.orig/libraries/systeminfo/src/sys_unix.cpp 2021-03-22 04:45:06.000000000 +0900
++++ MultiMC5-0.6.12/libraries/systeminfo/src/sys_unix.cpp 2021-04-29 06:41:55.269952475 +0900
+@@ -4,6 +4,7 @@
+
+ #include <sys/utsname.h>
+ #include <fstream>
++#include <limits>
+
+ Sys::KernelInfo Sys::getKernelInfo()
+ {
diff --git a/games-action/multimc/multimc-0.6.12.ebuild b/games-action/multimc/multimc-0.6.12.ebuild
index cd9640293..bf3a23cfe 100644
--- a/games-action/multimc/multimc-0.6.12.ebuild
+++ b/games-action/multimc/multimc-0.6.12.ebuild
@@ -45,6 +45,7 @@ RDEPEND="${COMMON_DEPEND}
"
S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/multimc-0.6.12-gcc11.patch )
src_unpack() {
default
next reply other threads:[~2021-04-29 8:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-29 8:23 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-05-21 14:10 [gentoo-commits] repo/proj/guru:master commit in: games-action/multimc/files/, games-action/multimc/ Michał Górny
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=1619647707.42c4211c4cdfe5106f81a079522d7080a769c38a.mgorny@gentoo \
--to=mgorny@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