diff options
Diffstat (limited to 'gui-wm/hyprland/files')
-rw-r--r-- | gui-wm/hyprland/files/hyprland-0.31.0-fix-log-headers.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gui-wm/hyprland/files/hyprland-0.31.0-fix-log-headers.patch b/gui-wm/hyprland/files/hyprland-0.31.0-fix-log-headers.patch new file mode 100644 index 000000000000..7abd8164c9b4 --- /dev/null +++ b/gui-wm/hyprland/files/hyprland-0.31.0-fix-log-headers.patch @@ -0,0 +1,33 @@ +From 5dd0637e90efa17e391b67934998936194701d08 Mon Sep 17 00:00:00 2001 +From: memchr <memchr@proton.me> +Date: Mon, 16 Oct 2023 16:22:01 +0000 +Subject: [PATCH] fix(build): do not include wlr headers directly, use + includes.hpp instead. + +--- + src/debug/Log.hpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp +index 125ed7f45d..085465c911 100644 +--- a/src/debug/Log.hpp ++++ b/src/debug/Log.hpp +@@ -1,10 +1,10 @@ + #pragma once + #include <string> +-#include <wlr/util/log.h> + #include <format> + #include <iostream> + #include <fstream> + #include <chrono> ++#include "../includes.hpp" + #include "../helpers/MiscFunctions.hpp" + + #define LOGMESSAGESIZE 1024 +@@ -79,4 +79,4 @@ namespace Debug { + } + + void wlrLog(wlr_log_importance level, const char* fmt, va_list args); +-}; +\ No newline at end of file ++}; |