Description: upstream: fix: draw: take into account gnuplot_file_args
 This patch makes `share/draw` to take into account gnuplot_file_args
 when `draw` plots. This issue is visible on Linux. Actually this issue
 produces a beautiful envelop when `wxdraw` is used in wxMaxima on Linux.
 This issue was reported in Debian first for the Debian package wxmaxima,
 and then reassigned to the Debian package maxima. It is bugreport #1129331
 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129331>.
Origin: Debian
Forwarded: https://sourceforge.net/p/maxima/patches/108/
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2026-03-07

diff --git a/share/draw/gnuplot.lisp b/share/draw/gnuplot.lisp
index f35129912..e064eab6e 100644
--- a/share/draw/gnuplot.lisp
+++ b/share/draw/gnuplot.lisp
@@ -3582,9 +3582,9 @@
 	     #+(or (and sbcl win32) (and sbcl win64) (and ccl windows))
              ($system $gnuplot_command gfn)
 	     #-(or (and sbcl win32) (and sbcl win64) (and ccl windows))
-	     ($system (format nil "~a \"~a\"" 
+	     ($system (format nil "~a ~a"
 			      $gnuplot_command
-			      gfn) ))
+			      (format nil $gnuplot_file_args gfn)) ))
           (t ; non animated gif
              ; command file maxout.gnuplot is now ready
              (format cmdstorage "~%")
@@ -3632,9 +3632,9 @@
 			      (format nil "~a ~a"
 				      $gnuplot_command
 				      (format nil $gnuplot_view_args gfn))
-			      (format nil "~a \"~a\"" 
+			      (format nil "~a ~a"
 				      $gnuplot_command
-				      gfn))) ))))
+				      (format nil $gnuplot_file_args gfn)) )) ))))
 
     ; the output is a simplified description of the scene(s)
     (reverse scenes-list)) )
-- 
2.47.3

