Author: Jaret Cantu <jaret.cantu@timesys.com>
Date:   Wed Apr 18 06:54:44 EDT 2018

    Allow Window (Mesa) GBM to be explicitly disabled

    Certain binary EGL libraries use a libgbm other than one built
    from the current version of Mesa, which causes undefined symbol
    errors.

    Allow builds which are not using Mesa GBM to turn off this backend.

--- gst-plugins-base-1.14.0/configure.orig	2018-04-18 06:40:27.911675847 -0400
+++ gst-plugins-base-1.14.0/configure	2018-04-18 06:51:38.215685181 -0400
@@ -28595,7 +28595,7 @@ $as_echo "$as_me: WARNING: X or Wayland
       if test "x$NEED_EGL" = "xno" -o "x$HAVE_EGL" = "xno"; then
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: EGL is required by the Mesa GBM EGL backend" >&5
 $as_echo "$as_me: WARNING: EGL is required by the Mesa GBM EGL backend" >&2;}
-      else
+      elif test "x$HAVE_WINDOW_GBM" = "x"; then
         HAVE_WINDOW_GBM=yes
         GL_CFLAGS="$GL_CFLAGS $DRM_CFLAGS"
       fi
