Created attachment 188747 [details] fix I reported this issue here: https://sourceforge.net/p/ngspice/bugs/330/
Looks good to me.
The current PORTVERSION(=30) includes the submitted patch.