summaryrefslogtreecommitdiff
path: root/gui-wm/wayfire/files/wayfire-0.7.5-gcc13.patch
blob: 0ee666664c937ab7513e0cbe99753b6f7115b550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
https://github.com/WayfireWM/wf-utils/pull/5

From 57460e364f6a1e5bdbad424e8cc576e346c8b7b6 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Tue, 18 Apr 2023 08:26:50 +0100
Subject: [PATCH] Fix build with GCC 13

GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
are no longer transitively included.

See https://gnu.org/software/gcc/gcc-13/porting_to.html.

Bug: https://bugs.gentoo.org/895570
Closes: https://github.com/WayfireWM/wayfire/issues/1758
--- a/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp
+++ b/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp
@@ -1,6 +1,7 @@
 #include "wayfire/rule/lambda_rule.hpp"
 #include "wayfire/condition/condition.hpp"
 #include <cstddef>
+#include <cstdint>
 #include <functional>
 #include <memory>
 #include <sstream>