* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/json11/, dev-cpp/json11/files/
@ 2024-08-09 13:24 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-08-09 13:24 UTC (permalink / raw
To: gentoo-commits
commit: 79d5a2baf84f5a9086cf49095928bc9fb31cfb82
Author: Christopher Fore <csfore <AT> posteo <DOT> net>
AuthorDate: Fri Aug 9 13:13:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 9 13:24:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d5a2ba
dev-cpp/json11: Fix compilation on GCC 15
Closes: https://bugs.gentoo.org/937530
Signed-off-by: Christopher Fore <csfore <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/38028
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch | 12 ++++++++++++
dev-cpp/json11/json11-1.0.0-r1.ebuild | 3 ++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch b/dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch
new file mode 100644
index 000000000000..29648cf15825
--- /dev/null
+++ b/dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch
@@ -0,0 +1,12 @@
+diff --git a/json11.cpp b/json11.cpp
+index 9647846..8266a14 100644
+--- a/json11.cpp
++++ b/json11.cpp
+@@ -22,6 +22,7 @@
+ #include "json11.hpp"
+ #include <cassert>
+ #include <cmath>
++#include <cstdint>
+ #include <cstdlib>
+ #include <cstdio>
+ #include <limits>
diff --git a/dev-cpp/json11/json11-1.0.0-r1.ebuild b/dev-cpp/json11/json11-1.0.0-r1.ebuild
index ab8457f641aa..66b400e6f1bd 100644
--- a/dev-cpp/json11/json11-1.0.0-r1.ebuild
+++ b/dev-cpp/json11/json11-1.0.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
@@ -16,4 +16,5 @@ KEYWORDS="amd64 x86"
PATCHES=(
"${FILESDIR}"/${P}-fix-multiarch-install.patch
"${FILESDIR}"/${PN}-1.0.0-json11.pc-do-not-state-the-defaults.patch
+ "${FILESDIR}"/${PN}-1.0.0-include-cstdint.patch
)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-09 13:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 13:24 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/json11/, dev-cpp/json11/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox