summaryrefslogtreecommitdiff
path: root/sci-visualization/gnuplot/files/gnuplot-5.0.1-fix-underlinking.patch
blob: c39bc828f268dceb1500f7bb17418a11604bb2fe (plain)
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.1/src/Makefile.am
===================================================================
--- gnuplot-5.0.1.orig/src/Makefile.am
+++ gnuplot-5.0.1/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