commit:     2007a67242ba3c04cdbda0f3795857449c4d76b0
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Dec 28 13:21:12 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Dec 28 13:21:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2007a672

net-libs/ixwebsocket: fix build with GCC 15

Closes: https://bugs.gentoo.org/937500
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .../ixwebsocket/files/ixwebsocket-11.4.4-fix-gcc15.patch     | 12 ++++++++++++
 net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild               |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/net-libs/ixwebsocket/files/ixwebsocket-11.4.4-fix-gcc15.patch 
b/net-libs/ixwebsocket/files/ixwebsocket-11.4.4-fix-gcc15.patch
new file mode 100644
index 000000000..4b504e1aa
--- /dev/null
+++ b/net-libs/ixwebsocket/files/ixwebsocket-11.4.4-fix-gcc15.patch
@@ -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>

diff --git a/net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild 
b/net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild
index d0675734a..e1f3d8e05 100644
--- a/net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild
+++ b/net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild
@@ -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() {

Reply via email to