mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
gnuplot-gfx: a graphical gnuplot that uses truecolor libvga graphics
This commit is contained in:
15
gnuplot-gfx/patches/060-linuxvga-allow.patch
Normal file
15
gnuplot-gfx/patches/060-linuxvga-allow.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
Index: gnuplot-4.4.0/term/linux.trm
|
||||
===================================================================
|
||||
--- gnuplot-4.4.0.orig/term/linux.trm 2011-01-06 16:19:41.000000000 +0100
|
||||
+++ gnuplot-4.4.0/term/linux.trm 2011-01-06 16:20:00.000000000 +0100
|
||||
@@ -120,7 +120,9 @@
|
||||
char line[256];
|
||||
FILE *pipe;
|
||||
|
||||
- LINUX_graphics_allowed = FALSE;
|
||||
+ /* enabling this. No need to be paranoid on openwrt. popen() below won't
|
||||
+ even work */
|
||||
+ LINUX_graphics_allowed = TRUE;
|
||||
|
||||
if (geteuid() != 0)
|
||||
return; /* if we aren't root, we cannot init graphics */
|
||||
Reference in New Issue
Block a user