Accepting request 1076675 from home:iznogood:branches:X11:Wayland
- Add ca9d237b00b4d01f341b0d7bc938afb10a4f8cad.patch: Fix(sway): add missing includes for GCC 13 OBS-URL: https://build.opensuse.org/request/show/1076675 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=102
This commit is contained in:
parent
f6a71f6c55
commit
3e60dcf330
36
ca9d237b00b4d01f341b0d7bc938afb10a4f8cad.patch
Normal file
36
ca9d237b00b4d01f341b0d7bc938afb10a4f8cad.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From ca9d237b00b4d01f341b0d7bc938afb10a4f8cad Mon Sep 17 00:00:00 2001
|
||||
From: Aleksei Bavshin <alebastr89@gmail.com>
|
||||
Date: Mon, 16 Jan 2023 10:27:21 -0800
|
||||
Subject: [PATCH] fix(sway): add missing includes for GCC 13
|
||||
|
||||
See also: https://gcc.gnu.org/gcc-13/porting_to.html
|
||||
---
|
||||
include/modules/sway/ipc/client.hpp | 1 +
|
||||
src/modules/sway/ipc/client.cpp | 2 ++
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/include/modules/sway/ipc/client.hpp b/include/modules/sway/ipc/client.hpp
|
||||
index 77dab083d..a6705eaa7 100644
|
||||
--- a/include/modules/sway/ipc/client.hpp
|
||||
+++ b/include/modules/sway/ipc/client.hpp
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
+#include <string>
|
||||
|
||||
#include "ipc.hpp"
|
||||
#include "util/sleeper_thread.hpp"
|
||||
diff --git a/src/modules/sway/ipc/client.cpp b/src/modules/sway/ipc/client.cpp
|
||||
index 4d6495cb7..5c3df7b2f 100644
|
||||
--- a/src/modules/sway/ipc/client.cpp
|
||||
+++ b/src/modules/sway/ipc/client.cpp
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
+#include <stdexcept>
|
||||
+
|
||||
namespace waybar::modules::sway {
|
||||
|
||||
Ipc::Ipc() {
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 1 19:59:55 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add ca9d237b00b4d01f341b0d7bc938afb10a4f8cad.patch: Fix(sway):
|
||||
add missing includes for GCC 13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 09:18:06 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
|
||||
|
||||
|
@ -26,6 +26,7 @@ URL: https://github.com/Alexays/Waybar
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: 0000-replace-gethostbyname-getaddrinfo.patch
|
||||
Patch1: 0001-require-date-dependency.patch
|
||||
Patch2: https://github.com/Alexays/Waybar/commit/ca9d237b00b4d01f341b0d7bc938afb10a4f8cad.patch
|
||||
BuildRequires: cmake
|
||||
%if 0%{?sle_version} >= 150400
|
||||
BuildRequires: gcc11-c++
|
||||
|
Loading…
Reference in New Issue
Block a user