Merge pull request #123518 from tollb/fix/spice-vdagent-gmemdup-deprecation-build-error-20210518a
spice-vdagent: fix build error with glib > 2.68
This commit is contained in:
commit
73b982e621
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0n8jlc1pv6mkry161y656b1nk9hhhminjq6nymzmmyjl7k95ymzx";
|
||||
};
|
||||
|
||||
# FIXME: May no longer be needed with spice-vdagent versions over 0.21.0
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace data/spice-vdagent.desktop --replace /usr $out
|
||||
'';
|
||||
|
Loading…
x
Reference in New Issue
Block a user