net-libs/ixwebsocket: fix build with GCC 15

Closes: https://bugs.gentoo.org/937500
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-12-28 22:21:12 +09:00
parent f528d867c1
commit 2007a67242
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
https://bugs.gentoo.org/937500
https://github.com/machinezone/IXWebSocket/pull/538
Fix build with GCC 15.
--- a/third_party/msgpack11/msgpack11.hpp
+++ b/third_party/msgpack11/msgpack11.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <cstdint>
#include <string>
#include <vector>
#include <map>

View File

@@ -1,4 +1,4 @@
# Copyright 2021-2023 Gentoo Authors
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -49,6 +49,8 @@ PATCHES=(
"${FILESDIR}/${P}-use-system-spdlog.patch"
# Fix Server empty thread name
"${FILESDIR}/${P}-fix-server-empty-thread-name.patch"
# Fix build with GCC 15
"${FILESDIR}/${P}-fix-gcc15.patch"
)
src_configure() {