Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 304637 Details for
Bug 390387
>=media-libs/mesa-7.11 not compile with USE="egl": 'O_CLOEXEC' undeclared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mesa-8.0.1-freebsd-cloexec.patch
mesa-8.0.1-freebsd-cloexec.patch (text/plain), 623 bytes, created by
Naohiro Aota
on 2012-03-08 16:29:30 UTC
(
hide
)
Description:
mesa-8.0.1-freebsd-cloexec.patch
Filename:
MIME Type:
Creator:
Naohiro Aota
Created:
2012-03-08 16:29:30 UTC
Size:
623 bytes
patch
obsolete
>diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c >index 4e00c95..6cd31d0 100644 >--- a/src/egl/drivers/dri2/platform_x11.c >+++ b/src/egl/drivers/dri2/platform_x11.c >@@ -997,7 +997,11 @@ dri2_initialize_x11_dri2(_EGLDriver *drv, _EGLDisplay *disp) > if (!dri2_load_driver(disp)) > goto cleanup_conn; > >+#ifdef O_CLOEXEC > dri2_dpy->fd = open(dri2_dpy->device_name, O_RDWR | O_CLOEXEC); >+#else >+ dri2_dpy->fd = open(dri2_dpy->device_name, O_RDWR); >+#endif > if (dri2_dpy->fd == -1) { > _eglLog(_EGL_WARNING, > "DRI2: could not open %s (%s)", dri2_dpy->device_name,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 390387
: 304637