From 84b5b6bd3e1cdaf07c22a30b13e9aa3d0d9a2bc0 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 15 Oct 2019 19:56:36 +0200 Subject: [PATCH] sway: disable werror --- srcpkgs/sway/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template index 0a236516283..a650b8c559c 100644 --- a/srcpkgs/sway/template +++ b/srcpkgs/sway/template @@ -18,6 +18,10 @@ checksum=9f79382577ee132111c290b4d1a1a3e114ef485595c30cf5f181a11575bda846 build_options="elogind" desc_option_elogind="Uses elogind instead of setuid for privilege escalation" +post_patch() { + vsed -e 's/werror=true/werror=false/g' -i meson.build +} + post_install() { vlicense LICENSE if [ -z "$build_option_elogind" ]; then