aboutsummaryrefslogtreecommitdiff
path: root/cad/jspice3
diff options
context:
space:
mode:
Diffstat (limited to 'cad/jspice3')
-rw-r--r--cad/jspice3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cad/jspice3/Makefile b/cad/jspice3/Makefile
index d4b67dd28f3a..96942cc4fd92 100644
--- a/cad/jspice3/Makefile
+++ b/cad/jspice3/Makefile
@@ -27,6 +27,9 @@ post-patch:
/^SPICE_HOST/s|=.*|= localhost| ; \
/^CC_OPT/s|=.*|= ${CFLAGS}|' \
${WRKSRC}/conf/unixconf/mkheader.0
+ @cd ${WRKSRC}/src && \
+ ${REINPLACE_CMD} 's,va_copy,var_copy,g' include/cpextern.h \
+ lib/fte/options.c lib/cp/variable.c
post-patch-X11-off:
@${REINPLACE_CMD} -e \