From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E06FD1584F2 for ; Thu, 13 Mar 2025 14:58:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C5FFD343130 for ; Thu, 13 Mar 2025 14:58:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BF09111037F; Thu, 13 Mar 2025 14:58:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B247B11037F for ; Thu, 13 Mar 2025 14:58:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6360934314B for ; Thu, 13 Mar 2025 14:58:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C40331909 for ; Thu, 13 Mar 2025 14:57:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741877854.42a569143b23ca59301ba828816f980ccfbb4ec4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/wesnoth/files/, games-strategy/wesnoth/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/wesnoth/files/wesnoth-1.18.3-gcc15.patch games-strategy/wesnoth/wesnoth-1.18.3.ebuild X-VCS-Directories: games-strategy/wesnoth/ games-strategy/wesnoth/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 42a569143b23ca59301ba828816f980ccfbb4ec4 X-VCS-Branch: master Date: Thu, 13 Mar 2025 14:57:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08ff8098-709e-46eb-a1c0-6e9b7ea7a7e0 X-Archives-Hash: 432fddec6171f882e7bf0df0c819459c commit: 42a569143b23ca59301ba828816f980ccfbb4ec4 Author: Kostadin Shishmanov protonmail com> AuthorDate: Thu Mar 13 14:34:06 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 13 14:57:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42a56914 games-strategy/wesnoth: fix build with gcc 15 Closes: https://bugs.gentoo.org/938229 Signed-off-by: Kostadin Shishmanov protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/41061 Signed-off-by: Sam James gentoo.org> .../wesnoth/files/wesnoth-1.18.3-gcc15.patch | 29 ++++++++++++++++++++++ games-strategy/wesnoth/wesnoth-1.18.3.ebuild | 5 +++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/games-strategy/wesnoth/files/wesnoth-1.18.3-gcc15.patch b/games-strategy/wesnoth/files/wesnoth-1.18.3-gcc15.patch new file mode 100644 index 000000000000..37cf8e731a55 --- /dev/null +++ b/games-strategy/wesnoth/files/wesnoth-1.18.3-gcc15.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/938229 + +From 1fb93b68d15c7c039f04d0145ad47fb3102ec359 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Sat, 24 Aug 2024 22:21:47 +0100 +Subject: [PATCH] filesystem.hpp: include missing + +Without the change build fails on upcoming `gcc-15` as: + + In file included from src/desktop/paths.cpp:20: + src/filesystem.hpp:232:13: error: 'uint8_t' was not declared in this scope + 232 | std::vector read_file_binary(const std::string& fname); + | ^~~~~~~ +--- + src/filesystem.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/filesystem.hpp b/src/filesystem.hpp +index 38bf6952b452c..3cdb4b6ae7120 100644 +--- a/src/filesystem.hpp ++++ b/src/filesystem.hpp +@@ -21,6 +21,7 @@ + #pragma once + + #include ++#include + #include + #include + #include diff --git a/games-strategy/wesnoth/wesnoth-1.18.3.ebuild b/games-strategy/wesnoth/wesnoth-1.18.3.ebuild index f12b18fb00fc..3f4d36f79c73 100644 --- a/games-strategy/wesnoth/wesnoth-1.18.3.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.18.3.ebuild @@ -43,7 +43,10 @@ BDEPEND=" virtual/pkgconfig " -PATCHES=( "${FILESDIR}"/${PN}-1.18.3-boost-1.87.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-1.18.3-boost-1.87.patch + "${FILESDIR}"/${PN}-1.18.3-gcc15.patch +) src_prepare() { cmake_src_prepare