commit:     7ac919e7c9d468ae5c32ab4ba259e5da86da4335
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 00:43:13 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 00:45:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ac919e7

games-util/libstrangle: fix build with gcc13

Just a quick downstream fix, upstream hasn't shown activity
in a year.

Closes: https://bugs.gentoo.org/899038
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../libstrangle/files/libstrangle-0.1.1_p20220222-gcc13.patch      | 7 +++++++
 games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild       | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git 
a/games-util/libstrangle/files/libstrangle-0.1.1_p20220222-gcc13.patch 
b/games-util/libstrangle/files/libstrangle-0.1.1_p20220222-gcc13.patch
new file mode 100644
index 000000000000..03fc215b2e46
--- /dev/null
+++ b/games-util/libstrangle/files/libstrangle-0.1.1_p20220222-gcc13.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/899038
+--- a/src/vulkan/overlay.cpp
++++ b/src/vulkan/overlay.cpp
+@@ -28,2 +28,3 @@
+ 
++#include <cstdio>
+ #include <mutex>

diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild 
b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
index 7424fd24e64a..6c2922519587 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -33,6 +33,10 @@ DEPEND="
 
 QA_SONAME="usr/lib.*/libstrangle.*" # intended for dlopen()
 
+PATCHES=(
+       "${FILESDIR}"/${P}-gcc13.patch
+)
+
 src_prepare() {
        default
 

Reply via email to