repo/gentoo:master commit in: net-libs/nghttp2/, net-libs/nghttp2/files/
"Sam James" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786300350.676866763a3e0716e88a39c51cd938a6f95fed26.sam@gentoo> |
commit: 676866763a3e0716e88a39c51cd938a6f95fed26 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Aug 9 18:32:30 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Aug 9 18:32:30 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67686676 net-libs/nghttp2: fix build w/ gcc-17 Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/nghttp2/files/nghttp2-1.70.0-gcc17.patch | 27 +++++++++++++++++++++++ net-libs/nghttp2/nghttp2-1.70.0.ebuild | 4 ++++ 2 files changed, 31 insertions(+) diff --git a/net-libs/nghttp2/files/nghttp2-1.70.0-gcc17.patch b/net-libs/nghttp2/files/nghttp2-1.70.0-gcc17.patch new file mode 100644 index 000000000000..80f29ac6a7a6 --- /dev/null +++ b/net-libs/nghttp2/files/nghttp2-1.70.0-gcc17.patch @@ -0,0 +1,27 @@ +https://github.com/nghttp2/nghttp2/pull/2828 + +From 54a657140d19f3ba2309d7ca26caf43c4a85202b Mon Sep 17 00:00:00 2001 +From: Sam James <[email protected]> +Date: Sun, 9 Aug 2026 19:30:06 +0100 +Subject: [PATCH] util: add <fstream> include + +This shows up with GCC 17 where some transitive internal includes changed: +it worked by chance before. +--- + src/util.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/util.h b/src/util.h +index 8b7eee9ace..ec16c7f806 100644 +--- a/src/util.h ++++ b/src/util.h +@@ -46,6 +46,7 @@ + #include <algorithm> + #include <memory> + #include <chrono> ++#include <fstream> + #include <unordered_map> + #include <random> + #include <ranges> + + diff --git a/net-libs/nghttp2/nghttp2-1.70.0.ebuild b/net-libs/nghttp2/nghttp2-1.70.0.ebuild index 88a5d2c2263b..ef768578fa1c 100644 --- a/net-libs/nghttp2/nghttp2-1.70.0.ebuild +++ b/net-libs/nghttp2/nghttp2-1.70.0.ebuild @@ -44,6 +44,10 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND+=" virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/${PN}-1.70.0-gcc17.patch +) + src_prepare() { default [[ ${PV} == 9999 ]] && eautoreconf