From f3e153a77ee6fbdb3b419d74b164956eace0fb1a Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sat, 27 May 2023 01:05:20 +0200 Subject: [PATCH] waybar: fix for gcc13 --- ...ers-to-fix-build-after-gcc-13-update.patch | 40 +++++++++++++++++++ recipes-gtk/waybar/waybar_git.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 recipes-gtk/waybar/waybar/0001-include-headers-to-fix-build-after-gcc-13-update.patch diff --git a/recipes-gtk/waybar/waybar/0001-include-headers-to-fix-build-after-gcc-13-update.patch b/recipes-gtk/waybar/waybar/0001-include-headers-to-fix-build-after-gcc-13-update.patch new file mode 100644 index 0000000..9c55b5a --- /dev/null +++ b/recipes-gtk/waybar/waybar/0001-include-headers-to-fix-build-after-gcc-13-update.patch @@ -0,0 +1,40 @@ +From a8a39f7bdfda7960efe0f5560c34e1518a598169 Mon Sep 17 00:00:00 2001 +From: Markus Volk +Date: Sat, 27 May 2023 00:58:45 +0200 +Subject: [PATCH] include headers to fix build after gcc 13 update + +Signed-off-by: Markus Volk +--- + include/modules/sway/ipc/client.hpp | 1 + + src/modules/sway/ipc/client.cpp | 3 ++- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/include/modules/sway/ipc/client.hpp b/include/modules/sway/ipc/client.hpp +index 77dab083..d87b00c4 100644 +--- a/include/modules/sway/ipc/client.hpp ++++ b/include/modules/sway/ipc/client.hpp +@@ -5,6 +5,7 @@ + #include + #include + ++#include + #include + #include + #include +diff --git a/src/modules/sway/ipc/client.cpp b/src/modules/sway/ipc/client.cpp +index 4d6495cb..256ed3eb 100644 +--- a/src/modules/sway/ipc/client.cpp ++++ b/src/modules/sway/ipc/client.cpp +@@ -1,7 +1,8 @@ + #include "modules/sway/ipc/client.hpp" +- ++#include + #include + ++ + namespace waybar::modules::sway { + + Ipc::Ipc() { +-- +2.34.1 + diff --git a/recipes-gtk/waybar/waybar_git.bb b/recipes-gtk/waybar/waybar_git.bb index a7bfae4..dbba58f 100644 --- a/recipes-gtk/waybar/waybar_git.bb +++ b/recipes-gtk/waybar/waybar_git.bb @@ -12,6 +12,7 @@ REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data" SRC_URI = " \ git://github.com/Alexays/Waybar.git;protocol=https;branch=master \ + file://0001-include-headers-to-fix-build-after-gcc-13-update.patch \ file://waybar.service \ "