Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2019 06:04:37 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501362 - head/cad/jspice3
Message-ID:  <201905120604.x4C64bjv078491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905120604.x4C64bjv078491>