mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 11:29:15 -04:00
Add missing dependencies on xcb and xxf86vm. Changelog for mesa: https://www.mesa3d.org/relnotes/17.3.0.html PR: 223195 Submitted by: jbeich Tested by: Greg V, cpm
14 lines
575 B
C
14 lines
575 B
C
# work-around for https://bugs.freedesktop.org/show_bug.cgi?id=100627
|
|
#
|
|
--- src/glx/glxext.c.orig 2017-10-23 13:21:18 UTC
|
|
+++ src/glx/glxext.c
|
|
@@ -920,6 +920,9 @@ __glXInitialize(Display * dpy)
|
|
#if defined(GLX_USE_DRM)
|
|
if (glx_direct && glx_accel) {
|
|
#if defined(HAVE_DRI3)
|
|
+#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !defined(__DRM_NEXT__)
|
|
+ if (env_var_as_boolean("LIBGL_DRI3_ENABLE", false))
|
|
+#endif
|
|
if (!env_var_as_boolean("LIBGL_DRI3_DISABLE", false))
|
|
dpyPriv->dri3Display = dri3_create_display(dpy);
|
|
#endif /* HAVE_DRI3 */
|