summaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-08-23 15:53:22 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-08-23 15:53:53 +0300
commitff311b6c84aae1870dac45871b00008cf88b3dc6 (patch)
tree1e28a9cdd8f1426cadfa185e0cb4e6bca7e12628 /gui-wm
parentdev-libs/libtracecmd: add 1.5.2 (diff)
downloadgentoo-ff311b6c84aae1870dac45871b00008cf88b3dc6.tar.gz
gentoo-ff311b6c84aae1870dac45871b00008cf88b3dc6.tar.bz2
gentoo-ff311b6c84aae1870dac45871b00008cf88b3dc6.zip
gui-wm/wayfire: fix building with gcc-15
Closes: https://bugs.gentoo.org/938288 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/wayfire/files/wayfire-0.8.1-fix-gcc-15.patch13
-rw-r--r--gui-wm/wayfire/wayfire-0.8.1-r2.ebuild1
2 files changed, 14 insertions, 0 deletions
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() {