- Add ./wayland-include-dirs.patch
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/kanshi?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
82125f5008
commit
d2d7d9f4dc
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 30 01:17:28 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
- Add ./wayland-include-dirs.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 19 15:13:25 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
@@ -27,6 +27,7 @@ Source0: https://git.sr.ht/~emersion/kanshi/refs/download/v%{version}/%{n
|
||||
Source1: https://git.sr.ht/~emersion/kanshi/refs/download/v%{version}/%{name}-%{version}.tar.gz.sig
|
||||
# https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19
|
||||
Source2: %{name}.keyring
|
||||
Patch1: wayland-include-dirs.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: meson
|
||||
BuildRequires: ninja
|
||||
|
24
wayland-include-dirs.patch
Normal file
24
wayland-include-dirs.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -ruN kanshi-1.6.0.orig/include/config.h kanshi-1.6.0/include/config.h
|
||||
--- kanshi-1.6.0.orig/include/config.h 2024-05-30 09:13:31.476788919 +0800
|
||||
+++ kanshi-1.6.0/include/config.h 2024-05-30 09:14:01.283475131 +0800
|
||||
@@ -2,7 +2,7 @@
|
||||
#define KANSHI_CONFIG_H
|
||||
|
||||
#include <stdbool.h>
|
||||
-#include <wayland-client.h>
|
||||
+#include <wayland/wayland-client.h>
|
||||
|
||||
enum kanshi_output_field {
|
||||
KANSHI_OUTPUT_ENABLED = 1 << 0,
|
||||
diff -ruN kanshi-1.6.0.orig/include/kanshi.h kanshi-1.6.0/include/kanshi.h
|
||||
--- kanshi-1.6.0.orig/include/kanshi.h 2024-05-30 09:13:31.476788919 +0800
|
||||
+++ kanshi-1.6.0/include/kanshi.h 2024-05-30 09:13:50.926801677 +0800
|
||||
@@ -2,7 +2,7 @@
|
||||
#define KANSHI_KANSHI_H
|
||||
|
||||
#include <stdbool.h>
|
||||
-#include <wayland-client.h>
|
||||
+#include <wayland/wayland-client.h>
|
||||
|
||||
struct zwlr_output_manager_v1;
|
||||
|
Reference in New Issue
Block a user