Index: head/multimedia/gpac-libgpac/files/patch-modules_x11__out_x11__out.c =================================================================== --- head/multimedia/gpac-libgpac/files/patch-modules_x11__out_x11__out.c (nonexistent) +++ head/multimedia/gpac-libgpac/files/patch-modules_x11__out_x11__out.c (revision 544089) @@ -0,0 +1,17 @@ +--- modules/x11_out/x11_out.c.orig 2020-06-16 16:17:17 UTC ++++ modules/x11_out/x11_out.c +@@ -975,10 +975,14 @@ GF_Err X11_ProcessEvent (struct _video_out * vout, GF_ + case GF_EVENT_SET_GL: + if (!xWindow->output_3d) return GF_OK; + ++#ifdef GPAC_HAS_OPENGL + if ( ! glXMakeCurrent(xWindow->display, xWindow->fullscreen ? xWindow->full_wnd : xWindow->wnd, xWindow->glx_context) ) { + GF_LOG(GF_LOG_ERROR, GF_LOG_MMIO, ("[X11] Cannot make context current\n")); + return GF_IO_ERR; + } ++#else ++ return GF_NOT_SUPPORTED; ++#endif + break; + } + } else { Property changes on: head/multimedia/gpac-libgpac/files/patch-modules_x11__out_x11__out.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property