1 $NetBSD: patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c,v 1.2 2019/08/21 13:35:28 nia Exp $
3 Fix build on platforms without close-on-exec.
5 --- src/gallium/drivers/nouveau/nouveau_vp3_video.c.orig 2017-02-13 11:55:49.000000000 +0000
6 +++ src/gallium/drivers/nouveau/nouveau_vp3_video.c
7 @@ -294,7 +294,11 @@ nouveau_vp3_load_firmware(struct nouveau
8 if (nouveau_bo_map(dec->fw_bo, NOUVEAU_BO_WR, dec->client))
12 fd = open(path, O_RDONLY | O_CLOEXEC);
14 + fd = open(path, O_RDONLY);
17 fprintf(stderr, "opening firmware file %s failed: %m\n", path);