mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-cpp/json11: Fix compilation on GCC 15
Closes: https://bugs.gentoo.org/937530 Signed-off-by: Christopher Fore <csfore@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/38028 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
5c661f0ee0
commit
79d5a2baf8
12
dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch
Normal file
12
dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch
Normal file
@@ -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>
|
||||
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user