intel-gpu-tools: fix build with meson 0.60

Adds upstream patch from 963917a356
This commit is contained in:
Naïm Favier 2022-01-22 18:13:19 +01:00
parent 49c85141aa
commit 49d7624b77
No known key found for this signature in database
GPG key ID: 49B07322580B7EE2

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, libdrm
, libpciaccess
@ -45,6 +46,14 @@ stdenv.mkDerivation rec {
sha256 = "1dwvxh1yplsh1a7h3gpp40g91v12cfxy6yy99s1v9yr2kwxikm1n";
};
patches = [
# fix build with meson 0.60
(fetchpatch {
url = "https://github.com/freedesktop/xorg-intel-gpu-tools/commit/963917a3565466832a3b2fc22e9285d34a0bf944.patch";
sha256 = "sha256-goO2N7aK2dJYMhFGS1DlvjEYMSijN6stV6Q5z/RP8Ko=";
})
];
nativeBuildInputs = [ pkg-config utilmacros meson ninja flex bison gtk-doc docutils docbook_xsl ];
buildInputs = [
libdrm