forked from mirrors/nixpkgs
virglrenderer: fix missing include
This commit is contained in:
parent
73320be341
commit
4037d68db4
|
@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
# Fix use of fd_set without proper include
|
||||
prePatch = ''
|
||||
sed -e '1i#include <sys/select.h>' -i vtest/util.c
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A virtual 3D GPU library that allows a qemu guest to use the host GPU for accelerated 3D rendering";
|
||||
homepage = https://virgil3d.github.io/;
|
||||
|
|
Loading…
Reference in a new issue