Takashi Iwai
52318a5d62
- Enable CACA output module - Build with wxWidgets 3. Add patch gnuplot-wx3.diff OBS-URL: https://build.opensuse.org/request/show/292328 OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=63
23 lines
617 B
Diff
23 lines
617 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
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
|