[50816] trunk/dports/science/ng-spice
gwright at macports.org
gwright at macports.org
Sun May 10 05:33:07 PDT 2009
Revision: 50816
http://trac.macports.org/changeset/50816
Author: gwright at macports.org
Date: 2009-05-10 05:33:05 -0700 (Sun, 10 May 2009)
Log Message:
-----------
Minor bugfix patch, bump revision.
Modified Paths:
--------------
trunk/dports/science/ng-spice/Portfile
Added Paths:
-----------
trunk/dports/science/ng-spice/files/patch-pp_lst.c.diff
Modified: trunk/dports/science/ng-spice/Portfile
===================================================================
--- trunk/dports/science/ng-spice/Portfile 2009-05-10 11:49:05 UTC (rev 50815)
+++ trunk/dports/science/ng-spice/Portfile 2009-05-10 12:33:05 UTC (rev 50816)
@@ -4,6 +4,7 @@
name ng-spice
version 19
+revision 1
categories science cad
maintainers nomaintainer
platforms darwin
@@ -18,7 +19,8 @@
homepage http://ngspice.sourceforge.net/
master_sites sourceforge:ngspice
-patchfiles patch-inpmkmod.c.diff
+patchfiles patch-inpmkmod.c.diff \
+ patch-pp_lst.c.diff
distname ${name}-rework-${version}
checksums md5 52d01ef53332b8a0e58bf4f7ac7f2c42 \
Added: trunk/dports/science/ng-spice/files/patch-pp_lst.c.diff
===================================================================
--- trunk/dports/science/ng-spice/files/patch-pp_lst.c.diff (rev 0)
+++ trunk/dports/science/ng-spice/files/patch-pp_lst.c.diff 2009-05-10 12:33:05 UTC (rev 50816)
@@ -0,0 +1,11 @@
+--- src/xspice/cmpp/pp_lst.c.orig 2005-04-17 00:41:23.000000000 +0200
++++ src/xspice/cmpp/pp_lst.c 2009-05-05 09:35:59.000000000 +0200
+@@ -425,7 +425,7 @@
+ node[n].unique = TRUE;
+
+ /* Put pathname into info structure */
+- node[n].path_name = malloc(len);
++ node[n].path_name = malloc(len+1);
+ strcpy(node[n].path_name, path);
+
+ /* Increment count of paths read */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090510/e56fcf60/attachment.html>
More information about the macports-changes
mailing list