Root/gnuplot-gfx/patches/060-linuxvga-allow.patch

Source at commit 1b3135c created 9 years 8 days ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
1Index: gnuplot-4.4.0/term/linux.trm
2===================================================================
3--- gnuplot-4.4.0.orig/term/linux.trm 2011-01-06 16:19:41.000000000 +0100
4+++ gnuplot-4.4.0/term/linux.trm 2011-01-06 16:20:00.000000000 +0100
5@@ -120,7 +120,9 @@
6     char line[256];
7     FILE *pipe;
8 
9- LINUX_graphics_allowed = FALSE;
10+ /* enabling this. No need to be paranoid on openwrt. popen() below won't
11+ even work */
12+ LINUX_graphics_allowed = TRUE;
13 
14     if (geteuid() != 0)
15     return; /* if we aren't root, we cannot init graphics */
16

Archive Download this file



interactive