svn commit: r545281 - branches/2020Q3/cad/iverilog/files
Niclas Zeising
zeising at FreeBSD.org
Wed Aug 19 08:28:39 UTC 2020
Author: zeising
Date: Wed Aug 19 08:28:38 2020
New Revision: 545281
URL: https://svnweb.freebsd.org/changeset/ports/545281
Log:
MFH: r545237
cad/iverilog: Fix build with -fno-common
Fix the build with -fno-common, which is the default in llvm 11 (and gcc10).
Approved by: ports-secteam (joenum)
Added:
branches/2020Q3/cad/iverilog/files/patch-driver_cflexor.lex
- copied unchanged from r545237, head/cad/iverilog/files/patch-driver_cflexor.lex
branches/2020Q3/cad/iverilog/files/patch-driver_cfparse__misc.h
- copied unchanged from r545237, head/cad/iverilog/files/patch-driver_cfparse__misc.h
branches/2020Q3/cad/iverilog/files/patch-libveriuser_priv.h
- copied unchanged from r545237, head/cad/iverilog/files/patch-libveriuser_priv.h
Modified:
Directory Properties:
branches/2020Q3/ (props changed)
Copied: branches/2020Q3/cad/iverilog/files/patch-driver_cflexor.lex (from r545237, head/cad/iverilog/files/patch-driver_cflexor.lex)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q3/cad/iverilog/files/patch-driver_cflexor.lex Wed Aug 19 08:28:38 2020 (r545281, copy of r545237, head/cad/iverilog/files/patch-driver_cflexor.lex)
@@ -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.
Copied: branches/2020Q3/cad/iverilog/files/patch-driver_cfparse__misc.h (from r545237, head/cad/iverilog/files/patch-driver_cfparse__misc.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q3/cad/iverilog/files/patch-driver_cfparse__misc.h Wed Aug 19 08:28:38 2020 (r545281, copy of r545237, head/cad/iverilog/files/patch-driver_cfparse__misc.h)
@@ -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 */
Copied: branches/2020Q3/cad/iverilog/files/patch-libveriuser_priv.h (from r545237, head/cad/iverilog/files/patch-libveriuser_priv.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q3/cad/iverilog/files/patch-libveriuser_priv.h Wed Aug 19 08:28:38 2020 (r545281, copy of r545237, head/cad/iverilog/files/patch-libveriuser_priv.h)
@@ -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 */
More information about the svn-ports-all
mailing list