From owner-svn-ports-head@freebsd.org Tue Aug 18 17:41:25 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 68B323C2730; Tue, 18 Aug 2020 17:41:25 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWJ9x2BXtz4Q0G; Tue, 18 Aug 2020 17:41:25 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2EED115927; Tue, 18 Aug 2020 17:41:25 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07IHfPSg020396; Tue, 18 Aug 2020 17:41:25 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07IHfOU0020392; Tue, 18 Aug 2020 17:41:24 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <202008181741.07IHfOU0020392@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Tue, 18 Aug 2020 17:41:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545237 - head/cad/iverilog/files X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/cad/iverilog/files X-SVN-Commit-Revision: 545237 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 17:41:25 -0000 Author: zeising Date: Tue Aug 18 17:41:24 2020 New Revision: 545237 URL: https://svnweb.freebsd.org/changeset/ports/545237 Log: cad/iverilog: Fix build with -fno-common Fix the build with -fno-common, which is the default in llvm 11 (and gcc10). MFH: 2020Q3 Added: head/cad/iverilog/files/patch-driver_cflexor.lex (contents, props changed) head/cad/iverilog/files/patch-driver_cfparse__misc.h (contents, props changed) head/cad/iverilog/files/patch-libveriuser_priv.h (contents, props changed) Added: head/cad/iverilog/files/patch-driver_cflexor.lex ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/iverilog/files/patch-driver_cflexor.lex Tue Aug 18 17:41:24 2020 (r545237) @@ -0,0 +1,10 @@ +--- driver/cflexor.lex.orig 2020-08-18 17:06:30 UTC ++++ driver/cflexor.lex +@@ -30,6 +30,7 @@ + static int comment_enter; + static char* trim_trailing_white(char*txt, int trim); + ++char *current_file; + /* + * Mostly copied from the flex manual. Do not make this arbitrary + * depth without checking for looping files. Added: head/cad/iverilog/files/patch-driver_cfparse__misc.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/iverilog/files/patch-driver_cfparse__misc.h Tue Aug 18 17:41:24 2020 (r545237) @@ -0,0 +1,10 @@ +--- driver/cfparse_misc.h.orig 2020-08-18 17:06:43 UTC ++++ driver/cfparse_misc.h +@@ -39,6 +39,6 @@ int cferror(const char *); + int cfparse(void); + void switch_to_command_file(const char *); + void destroy_lexor(void); +-char *current_file; ++extern char *current_file; + + #endif /* IVL_cfparse_misc_H */ Added: head/cad/iverilog/files/patch-libveriuser_priv.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/iverilog/files/patch-libveriuser_priv.h Tue Aug 18 17:41:24 2020 (r545237) @@ -0,0 +1,12 @@ +--- libveriuser/priv.h.orig 2020-08-18 15:47:00 UTC ++++ libveriuser/priv.h +@@ -30,7 +30,8 @@ extern char* __acc_newstring(const char*txt); + + /* + * Trace file for logging ACC and TF calls. ++ * Defined in libveriuser/priv.c + */ +-FILE* pli_trace; ++extern FILE* pli_trace; + + #endif /* IVL_priv_H */