summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn>2015-09-26 11:01:13 +0000
committertnn <tnn>2015-09-26 11:01:13 +0000
commit88d857dc0241a62799a6804dbd59929b976875b3 (patch)
treecd0679854aa4229ee710e5f19ade11f9261c673c /graphics
parent77fafb3c2cd35158df3e79c68dd9bebc33d89264 (diff)
downloadpkgsrc-88d857dc0241a62799a6804dbd59929b976875b3.tar.gz
netbsd-5 build fix
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/distinfo3
-rw-r--r--graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo
index 702aeaa9e88..2a5c8ae9db3 100644
--- a/graphics/MesaLib/distinfo
+++ b/graphics/MesaLib/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.100 2015/09/26 08:45:02 tnn Exp $
+$NetBSD: distinfo,v 1.101 2015/09/26 11:01:13 tnn Exp $
SHA1 (mesa-11.0.0.tar.xz) = e4b1e7b6ec1326ddcc6a33c15d745e782411e781
RMD160 (mesa-11.0.0.tar.xz) = 86707ecbbd1bf8972191198ad8c7bf89e1f2c68d
Size (mesa-11.0.0.tar.xz) = 7257112 bytes
SHA1 (patch-configure) = 24d1ee6bf62cdea9c9356132f727b490679f0330
SHA1 (patch-include_GL_glxext.h) = 830902f2d38a8395cda682c059fc5223e1b0e89e
+SHA1 (patch-src_egl_drivers_dri2_platform__drm.c) = 5e7cca543258ae269760305d9b432f93e726abd7
SHA1 (patch-src_gallium_auxiliary_util_u__cpu__detect.c) = 5f4c3db54620739da0fe7dfb57c58728ecbbb6e0
SHA1 (patch-src_gallium_auxiliary_util_u__format__tests.c) = 4d5e4677c2825778c43440ab131b8807f6840975
SHA1 (patch-src_gallium_auxiliary_util_u__math.h) = 812e4a5291aea47e06505f09891e0434c4d9c34d
diff --git a/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c b/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c
new file mode 100644
index 00000000000..4662d7a939c
--- /dev/null
+++ b/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_egl_drivers_dri2_platform__drm.c,v 1.1 2015/09/26 11:01:13 tnn Exp $
+
+netbsd-5 build fix
+
+--- src/egl/drivers/dri2/platform_drm.c.orig 2015-09-10 18:07:21.000000000 +0000
++++ src/egl/drivers/dri2/platform_drm.c
+@@ -638,7 +638,9 @@ dri2_initialize_drm(_EGLDriver *drv, _EG
+ }
+
+ if (fd < 0) {
++#ifdef F_DUPFD_CLOEXEC
+ fd = fcntl(gbm_device_get_fd(gbm), F_DUPFD_CLOEXEC, 3);
++#endif
+ if (fd < 0) {
+ free(dri2_dpy);
+ return EGL_FALSE;