hyprland/0001-fixed-patchd-wlroots-build.patch

33 lines
1.4 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 3af05976a2b4cc7481664d6b5f206f08a789612a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1ritCS@protonmail.com>
Date: Sun, 22 Oct 2023 23:54:43 +0200
Subject: [PATCH] fixed patchd wlroots build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Florian "sp1rit" <sp1ritCS@protonmail.com>
---
subprojects/packagefiles/wlroots-meson-build.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/subprojects/packagefiles/wlroots-meson-build.patch b/subprojects/packagefiles/wlroots-meson-build.patch
index 6741fdc..2ba26dd 100644
--- a/subprojects/packagefiles/wlroots-meson-build.patch
+++ b/subprojects/packagefiles/wlroots-meson-build.patch
@@ -2,9 +2,10 @@ diff --git a/include/meson.build b/include/meson.build
index e669800..687786b 100644
--- a/include/meson.build
+++ b/include/meson.build
-@@ -1,4 +1,5 @@
+@@ -1,4 +1,6 @@
-subdir('wlr')
+run_command('ln', '-sf', join_paths(meson.project_source_root(), 'include', 'wlr'), join_paths(meson.project_source_root(), 'include', 'wlroots'), check: true)
++run_command('ln', '-s', join_paths(meson.project_build_root(), 'include', 'wlroots'), join_paths(meson.project_build_root(), 'include', 'wlr'), check: true)
+subdir('wlroots')
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
--
2.42.0