Package: gnuplot / 5.0.5+dfsg1-6+deb9u1

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

Index: gnuplot-5.0.5/src/Makefile.am
===================================================================
--- gnuplot-5.0.5.orig/src/Makefile.am
+++ gnuplot-5.0.5/src/Makefile.am
@@ -87,6 +87,8 @@ $(EXTRA_gnuplot_SOURCES)
 
 if BUILD_WXWIDGETS
 gnuplot_SOURCES += wxterminal/wxt_gui.cpp
+XLIBS = @LIBRARIES_FOR_X@
+gnuplot_LDADD += $(XLIBS)
 endif
 
 if BUILD_GPCAIRO