diff options
Diffstat (limited to 'cad/ng-spice/patches/patch-ag')
-rw-r--r-- | cad/ng-spice/patches/patch-ag | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cad/ng-spice/patches/patch-ag b/cad/ng-spice/patches/patch-ag new file mode 100644 index 00000000000..afac0ef0f4c --- /dev/null +++ b/cad/ng-spice/patches/patch-ag @@ -0,0 +1,14 @@ +$NetBSD: patch-ag,v 1.3 2005/11/17 13:17:56 dmcmahill Exp $ + +--- src/frontend/parse.h.orig 2005-05-26 19:29:52.000000000 +0000 ++++ src/frontend/parse.h +@@ -11,7 +11,9 @@ + #include <wordlist.h> + + struct pnode * ft_getpnames(wordlist *wl, bool check); ++#ifndef free_pnode + #define free_pnode(ptr) free_pnode_x(ptr); ptr=NULL; ++#endif + void free_pnode_x(struct pnode *t); + + |