svn commit: r545767 - head/cad/iverilog/files
Niclas Zeising
zeising at FreeBSD.org
Sat Aug 22 14:15:35 UTC 2020
Author: zeising
Date: Sat Aug 22 14:15:34 2020
New Revision: 545767
URL: https://svnweb.freebsd.org/changeset/ports/545767
Log:
cad/iverilog: Use upstream patch for -fno-common
Change to use the patch applied upstream for fixing the build of
cad/iverilog with -fno-common
MFH: 2020Q3 (implicit, -fno-common fix, ok by joenum)
Added:
head/cad/iverilog/files/patch-d49d26a5.c (contents, props changed)
Deleted:
head/cad/iverilog/files/patch-driver_cflexor.lex
head/cad/iverilog/files/patch-driver_cfparse__misc.h
head/cad/iverilog/files/patch-libveriuser_priv.h
Added: head/cad/iverilog/files/patch-d49d26a5.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/cad/iverilog/files/patch-d49d26a5.c Sat Aug 22 14:15:34 2020 (r545767)
@@ -0,0 +1,37 @@
+diff --git a/driver/cflexor.lex b/driver/cflexor.lex
+index 5e9e2f506..1bf7cec1d 100644
+--- driver/cflexor.lex
++++ driver/cflexor.lex
+@@ -27,6 +27,8 @@
+ # include "globals.h"
+ # include <string.h>
+
++char *current_file = NULL;
++
+ static int comment_enter;
+ static char* trim_trailing_white(char*txt, int trim);
+
+diff --git a/driver/cfparse_misc.h b/driver/cfparse_misc.h
+index 3cb7ddd6e..0323690ce 100644
+--- driver/cfparse_misc.h
++++ 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 */
+diff --git a/libveriuser/priv.h b/libveriuser/priv.h
+index 8256e16d3..8d3566087 100644
+--- libveriuser/priv.h
++++ libveriuser/priv.h
+@@ -31,6 +31,6 @@ extern char* __acc_newstring(const char*txt);
+ /*
+ * Trace file for logging ACC and TF calls.
+ */
+-FILE* pli_trace;
++extern FILE* pli_trace;
+
+ #endif /* IVL_priv_H */
More information about the svn-ports-head
mailing list