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 0000000000..4b504e1aa6 --- /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 + #include + #include + #include diff --git a/net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild b/net-libs/ixwebsocket/ixwebsocket-11.4.4.ebuild index d0675734a4..e1f3d8e05d 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() {