Package: gnuplot5 / 5.0.0+dfsg1-1~bpo8+1

11_fix_linkage_wx.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Add missing linkage against X11 libs.
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2015-01-22

--- gnuplot5-5.0.0+dfsg1.orig/src/Makefile.am
+++ gnuplot5-5.0.0+dfsg1/src/Makefile.am
@@ -89,6 +89,8 @@ $(EXTRA_gnuplot_SOURCES)
 
 if BUILD_WXWIDGETS
 gnuplot_SOURCES += wxterminal/wxt_gui.cpp
+XLIBS = @LIBRARIES_FOR_X@
+gnuplot_LDADD += $(XLIBS)
 endif
 
 if BUILD_GPCAIRO