Re: Pre-release testing version of gnuplot 6.0.4

ASSI via gnuplot-beta <[email protected]> Sat, 06 Dec 2025 17:21:20 +0100
Newsgroups gmane.comp.graphics.gnuplot.devel
Organization Linux Private Site
Message-ID <[email protected]>
Ethan A Merritt writes:
> I have placed a testing version of the source release
> package for gnuplot 6.0.4 on the "testing" section of the
> SourceForge download site.

There's a missing conditional in unset.c which prevents successful
compilation when mouse support is not enabled.

--8<---------------cut here---------------start------------->8---
--- origsrc/gnuplot-6.0.4/src/unset.c
+++ src/gnuplot-6.0.4/src/unset.c
@@ -2068,8 +2068,10 @@
 	    multiplot_end();
 	init_constants();
 	init_session();
+#ifdef USE_MOUSE
 	reset_mouse();
 	reset_since_last_plot = TRUE;
+#endif
 	return;
     }

@@ -2116,7 +2118,9 @@
      * suppress some of the commentary output by the individual
      * unset_...() routines. */
     interactive = FALSE;
+#ifdef USE_MOUSE
     reset_since_last_plot = TRUE;
+#endif
 
     unset_samples();
     unset_isosamples();

--- origsrc/gnuplot-6.0.4/src/plot2d.c
+++ src/gnuplot-6.0.4/src/plot2d.c
@@ -225,7 +225,9 @@
 	int_error(c_token, "use 'set term' to set terminal type first");
 
     is_3d_plot = FALSE;
+#ifdef USE_MOUSE
     reset_since_last_plot = FALSE;
+#endif
 
     if (parametric && strcmp(set_dummy_var[0], "u") == 0)
 	strcpy(set_dummy_var[0], "t");

--- origsrc/gnuplot-6.0.4/src/plot3d.c
+++ src/gnuplot-6.0.4/src/plot3d.c
@@ -312,7 +312,9 @@
     AXIS_INDEX axis, u_axis, v_axis;
 
     is_3d_plot = TRUE;
+#ifdef USE_MOUSE
     reset_since_last_plot = FALSE;
+#endif
 
     if (parametric && strcmp(set_dummy_var[0], "t") == 0) {
 	strcpy(set_dummy_var[0], "u");

--8<---------------cut here---------------end--------------->8---


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada



_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta