From 4037d68db4c74bbc4000067ac8c3a30577604a28 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 26 Mar 2018 15:31:01 -0500 Subject: [PATCH] virglrenderer: fix missing include --- pkgs/development/libraries/virglrenderer/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/virglrenderer/default.nix b/pkgs/development/libraries/virglrenderer/default.nix index 38b473673a54..2cd3b5a20c0c 100644 --- a/pkgs/development/libraries/virglrenderer/default.nix +++ b/pkgs/development/libraries/virglrenderer/default.nix @@ -15,6 +15,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; + # Fix use of fd_set without proper include + prePatch = '' + sed -e '1i#include ' -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/;