1 $NetBSD: patch-src_gallium_drivers_nouveau_nv50_nv84__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/nv50/nv84_video.c.orig 2015-03-21 00:51:18.000000000 +0000
6 +++ src/gallium/drivers/nouveau/nv50/nv84_video.c
9 nv84_copy_firmware(const char *path, void *dest, ssize_t len)
12 int fd = open(path, O_RDONLY | O_CLOEXEC);
14 + int fd = open(path, O_RDONLY);
18 fprintf(stderr, "opening firmware file %s failed: %m\n", path);