$NetBSD: patch-configure,v 1.2 2017/05/26 19:35:48 adam Exp $

Do not assume GTK requires linking against X11.

--- configure.orig	2017-05-26 17:54:18.000000000 +0000
+++ configure
@@ -15004,7 +15004,6 @@ $as_echo "$as_me: WARNING: GTK+ not foun
 $as_echo "#define UI_GTK 1" >>confdefs.h
 
     UI=gtk;
-    LIBS="$LIBS -lX11";
   fi
 fi
 
