From 77549f4b751305d5c435cf377dc06d3b559945d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 15 May 2021 11:07:47 +0200 Subject: [PATCH] wlroots_0_12: fixup build with ffmpeg-4.4 -Werror=deprecated-declarations is nice upstream but not in distro. https://nix-cache.s3.amazonaws.com/log/cfmk2qkvck88qc002bvxzgsb2zc5b1h2-wlroots-0.12.0.drv --- pkgs/development/libraries/wlroots/0.12.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/wlroots/0.12.nix b/pkgs/development/libraries/wlroots/0.12.nix index 66d4fab2bf9..c21205beabc 100644 --- a/pkgs/development/libraries/wlroots/0.12.nix +++ b/pkgs/development/libraries/wlroots/0.12.nix @@ -30,6 +30,8 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dlogind-provider=systemd" "-Dlibseat=disabled" ]; + CFLAGS = "-Wno-error=deprecated-declarations"; + postFixup = '' # Install ALL example programs to $examples: # screencopy dmabuf-capture input-inhibitor layer-shell idle-inhibit idle