From: Jan Engelhardt Date: 2015-03-22 15:21:46.000000000 +0100 gnuplot's wxt_gui.cpp (*not* wxWidgets) uses XInitThreads, but the program does not link in X11 and runs into a build error otherwise. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) Index: gnuplot-5.0.0/src/Makefile.am =================================================================== --- gnuplot-5.0.0.orig/src/Makefile.am +++ gnuplot-5.0.0/src/Makefile.am @@ -93,6 +93,7 @@ $(EXTRA_gnuplot_SOURCES) if BUILD_WXWIDGETS gnuplot_SOURCES += wxterminal/wxt_gui.cpp +gnuplot_LDADD += -lX11 endif if BUILD_GPCAIRO