NEW CVS Commit


To "'ng-spice@ieee.ing.uniroma1.it'" <ng-spice@ieee.ing.uniroma1.it>
From "p.nenzi@ieee.org" <pnenzi@ieee.ing.uniroma1.it>
Date Mon, 16 Apr 2001 12:17:46 +0200 (CEST)
cc ng-spice-devel@ieee.ing.uniroma1.it
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <CF654D964573D311A1CA0090278A36FF4CBE2C@EDIN_EXM1>
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it

Hi all,

I have done a new commit to the CVS code. Dan have supplied some patches
for porting ngspice to solaris. Solaris lacks of the getopt and asprintf
functions. The asprintf has been replaced by Dan with some code and getopt
was simply copied from a gnu source tree and put into the source. The
committed code addresses the asprintf code only, because I have not here a
gnu source tree. I have modified the patch anf #ifdef'ed the code using
the autoconf macros. The new code checks for asprintf in the configure
phase and then #define (if asprintf is found) HAVE_ASPRINTF.

About getopt: can someone send me the required functions (Dan ?) ?

About previous patches: Jean-Marc, I have applied the only the patch that
fixed the plot window code. About the other patches:

smith grid patch: I do not have code to test it. Michael Widlok has done
some changes to the plot routine and, as you can see, the background color
is now black. Since the patch seems to change colors to black I fear that
after applying the patch, no smith grid drawing will be visible. Can
someone prepare an example netlist that draws a smith grid with something
inside so that I can test the feature ? (Thanks in advance)


Readline: This patch infringes the GPL license. Since ngspice is not GPL
(yet), the readline library cannot be linked with the code. This topic was
already discussed. Since Jean-Marc has done the patch I am planning to
include it in the code in a separate dirctory (unofficial or something)
with a clear warning that including the patch is a violation of the GPL
license. Before doing this I would like some comments on this topic.

Other patches: I may have lost some patch or bug report. Sorry, it was a
busy time for me. If so, please send me a warning and a copy of the missed
code/bug-report.




Bye,
Paolo    


Partial thread listing: