looking-glass-client: fix build
spice-protocol removed the spice/error_codes.h header file [1], which
looking-glass-client was still using.
[1] 334cef51d0
This commit is contained in:
parent
cdf234714b
commit
6e90393ead
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub, fetchpatch
|
||||||
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig
|
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig
|
||||||
, libX11, freefont_ttf, nettle, libconfig
|
, libX11, freefont_ttf, nettle, libconfig
|
||||||
}:
|
}:
|
||||||
@ -21,6 +21,15 @@ stdenv.mkDerivation rec {
|
|||||||
libX11 freefont_ttf nettle libconfig cmake
|
libX11 freefont_ttf nettle libconfig cmake
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix obsolete spice header usage. Remove with the next release. See https://github.com/gnif/LookingGlass/pull/126
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/gnif/LookingGlass/commit/2567447b24b28458ba0f09c766a643ad8d753255.patch";
|
||||||
|
sha256 = "04j2h75rpxd71szry15f31r6s0kgk96i8q9khdv9q3i2fvkf242n";
|
||||||
|
stripLen = 1;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
sourceRoot = "source/client";
|
sourceRoot = "source/client";
|
||||||
|
Loading…
Reference in New Issue
Block a user