From aa581556cb663fcb064888acd55635ed909e624e Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 14 Sep 2021 12:13:39 +0200 Subject: [PATCH] glmark2: work around a build race with wayland headers --- srcpkgs/glmark2/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/glmark2/template b/srcpkgs/glmark2/template index 42b33d2e9f6..ea3bc94ba74 100644 --- a/srcpkgs/glmark2/template +++ b/srcpkgs/glmark2/template @@ -14,3 +14,8 @@ homepage="https://github.com/glmark2/glmark2" changelog="https://raw.githubusercontent.com/glmark2/glmark2/master/NEWS" distfiles="https://github.com/glmark2/glmark2/archive/${version}.tar.gz" checksum=bebadb78c13aea5e88ed892e5563101ccb745b75f1dc86a8fc7229f00d78cbf1 + +pre_build() { + # this file is racey, so pre-generate it ahead of time + ninja -C build src/xdg-shell-client-protocol.h +}