termux-packages/x11-packages/gnuplot-x/src-command.c.patch
Leonid Pliushch b490986f7e
new package: gnuplot-x
Same as 'gnuplot' from termux-packages but with X11 support.

Requested in https://github.com/termux/x11-packages/issues/90.
2022-04-18 14:41:32 +05:30

14 lines
401 B
Diff

For WEXITSTATUS macro.
diff -u -r ../gnuplot-5.2.0/src/command.c ./src/command.c
--- ../gnuplot-5.2.0/src/command.c 2017-08-30 18:48:26.000000000 +0000
+++ ./src/command.c 2017-10-14 20:56:13.905856980 +0000
@@ -138,6 +138,7 @@
int vms_ktid; /* key table id, for translating keystrokes */
#endif /* VMS */
+#include <sys/wait.h>
/* static prototypes */
static void command __PROTO((void));