commit:     ff311b6c84aae1870dac45871b00008cf88b3dc6
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 23 12:53:22 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 12:53:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff311b6c

gui-wm/wayfire: fix building with gcc-15

Closes: https://bugs.gentoo.org/938288
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 gui-wm/wayfire/files/wayfire-0.8.1-fix-gcc-15.patch | 13 +++++++++++++
 gui-wm/wayfire/wayfire-0.8.1-r2.ebuild              |  1 +
 2 files changed, 14 insertions(+)

diff --git a/gui-wm/wayfire/files/wayfire-0.8.1-fix-gcc-15.patch 
b/gui-wm/wayfire/files/wayfire-0.8.1-fix-gcc-15.patch
new file mode 100644
index 000000000000..c769a4516c16
--- /dev/null
+++ b/gui-wm/wayfire/files/wayfire-0.8.1-fix-gcc-15.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/938288
+https://github.com/WayfireWM/wayfire/pull/2441
+
+--- a/src/api/wayfire/object.hpp
++++ b/src/api/wayfire/object.hpp
+@@ -4,6 +4,7 @@
+ #include <typeinfo>
+ #include <memory>
+ #include <string>
++#include <cstdint>
+ 
+ #include <wayfire/nonstd/observer_ptr.h>
+ 

diff --git a/gui-wm/wayfire/wayfire-0.8.1-r2.ebuild 
b/gui-wm/wayfire/wayfire-0.8.1-r2.ebuild
index 886e64833e05..8f2348141cc5 100644
--- a/gui-wm/wayfire/wayfire-0.8.1-r2.ebuild
+++ b/gui-wm/wayfire/wayfire-0.8.1-r2.ebuild
@@ -61,6 +61,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}/wayfire-0.8.0-dont-use-installed-config-h.patch"
+       "${FILESDIR}"/${P}-fix-gcc-15.patch
 )
 
 src_prepare() {

Reply via email to