|
|
|
|
Index: src/color.c
|
|
|
|
|
--- src/color.c.orig 2016-11-14 21:11:59.000000000 +0100
|
|
|
|
|
+++ src/color.c 2017-09-04 11:04:00.434955000 +0200
|
|
|
|
|
@@ -62,7 +62,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
-init_color()
|
|
|
|
|
+gnuplot_init_color()
|
|
|
|
|
{
|
|
|
|
|
/* initialize global palette */
|
|
|
|
|
sm_palette.colorFormulae = 37; /* const */
|
|
|
|
|
Index: src/color.h
|
|
|
|
|
--- src/color.h.orig 2013-10-22 00:31:59.000000000 +0200
|
|
|
|
|
+++ src/color.h 2017-09-04 11:04:00.435103000 +0200
|
|
|
|
|
@@ -217,7 +217,7 @@
|
|
|
|
|
/* ROUTINES */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-void init_color __PROTO((void)); /* call once to initialize variables */
|
|
|
|
|
+void gnuplot_init_color __PROTO((void)); /* call once to initialize variables */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Index: src/command.c
|
|
|
|
|
--- src/command.c.orig 2017-08-30 20:48:26.000000000 +0200
|
|
|
|
|
+++ src/command.c 2017-09-04 11:09:20.185398000 +0200
|
|
|
|
|
@@ -138,6 +138,8 @@
|
|
|
|
|
int vms_ktid; /* key table id, for translating keystrokes */
|
|
|
|
|
#endif /* VMS */
|
|
|
|
|
|
|
|
|
|
+#include <sys/types.h>
|
|
|
|
|
+#include <sys/wait.h>
|
|
|
|
|
|
|
|
|
|
/* static prototypes */
|
|
|
|
|
static void command __PROTO((void));
|
|
|
|
|
Index: src/set.c
|
|
|
|
|
--- src/set.c.orig 2017-08-13 07:47:14.000000000 +0200
|
|
|
|
|
+++ src/set.c 2017-09-04 11:04:00.435797000 +0200
|
|
|
|
|
@@ -3284,7 +3284,7 @@
|
|
|
|
|
free_at(sm_palette.Afunc.at);
|
|
|
|
|
free_at(sm_palette.Bfunc.at);
|
|
|
|
|
free_at(sm_palette.Cfunc.at);
|
|
|
|
|
- init_color();
|
|
|
|
|
+ gnuplot_init_color();
|
|
|
|
|
pm3d_last_set_palette_mode = SMPAL_COLOR_MODE_NONE;
|
|
|
|
|
}
|
|
|
|
|
|