diff --git a/0001-wf-utils.patch b/0001-wf-utils.patch new file mode 100644 index 0000000..c66fa6a --- /dev/null +++ b/0001-wf-utils.patch @@ -0,0 +1,22 @@ +diff -rupN wayfire-0.7.5/subprojects/wf-utils/meson.build wayfire-0.7.5-patch/subprojects/wf-utils/meson.build +--- wayfire-0.7.5/subprojects/wf-utils/meson.build 2021-05-16 02:13:59.000000000 -0700 ++++ wayfire-0.7.5-patch/subprojects/wf-utils/meson.build 2023-07-04 12:02:07.028222586 -0700 +@@ -76,6 +76,7 @@ headers_parser = [ + 'wayfire/parser/action_parser.hpp', + 'wayfire/parser/condition_parser.hpp', + 'wayfire/parser/rule_parser.hpp', ++'wayfire/parser/lambda_rule_parser.hpp', + ] + + headers_rule = [ +diff -rupN wayfire-0.7.5/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp wayfire-0.7.5-patch/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp +--- wayfire-0.7.5/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp 2021-05-16 02:13:59.000000000 -0700 ++++ wayfire-0.7.5-patch/subprojects/wf-utils/wayfire/rule/lambda_rule.cpp 2023-07-04 12:02:29.920465237 -0700 +@@ -1,6 +1,7 @@ + #include "wayfire/rule/lambda_rule.hpp" + #include "wayfire/condition/condition.hpp" + #include ++#include + #include + #include + #include diff --git a/wayfire.changes b/wayfire.changes index fbbed83..aa15372 100644 --- a/wayfire.changes +++ b/wayfire.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 4 19:23:26 UTC 2023 - Shawn Dunn + +- Added 0001-wf-utils.patch (gh#WayfireWM/wayfire#1790) + ------------------------------------------------------------------- Fri Dec 2 03:26:16 UTC 2022 - Dead Mozay diff --git a/wayfire.spec b/wayfire.spec index 6b4c8aa..eaaba74 100644 --- a/wayfire.spec +++ b/wayfire.spec @@ -16,7 +16,6 @@ # -%define _lto_cflags %{nil} %define libname libwf-utils0 Name: wayfire Version: 0.7.5 @@ -26,6 +25,8 @@ License: MIT URL: https://wayfire.org/ Source0: https://github.com/WayfireWM/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1: https://github.com/WayfireWM/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz.sha256sum +# PATCH-FIX-UPSTREAM 0001-wf-utils.patch gh#WayfireWM/wayfire#1790 +Patch0: 0001-wf-utils.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: gcc-c++ BuildRequires: inotify-tools-devel