svn commit: r501362 - head/cad/jspice3

Tobias Kortkamp tobik at FreeBSD.org
Sun May 12 06:04:38 UTC 2019


Author: tobik
Date: Sun May 12 06:04:37 2019
New Revision: 501362
URL: https://svnweb.freebsd.org/changeset/ports/501362

Log:
  cad/jspice3: Fix build with Clang 8
  
  ../include/cpextern.h:259:25: error: cannot redeclare builtin function 'va_copy'
  extern struct variable *va_copy(struct variable*);
                          ^
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501065_s347375/logs/errors/jspice3-2.5.110615.log

Modified:
  head/cad/jspice3/Makefile

Modified: head/cad/jspice3/Makefile
==============================================================================
--- head/cad/jspice3/Makefile	Sun May 12 05:37:12 2019	(r501361)
+++ head/cad/jspice3/Makefile	Sun May 12 06:04:37 2019	(r501362)
@@ -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 \


More information about the svn-ports-all mailing list