From ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 29 Feb 2020 18:01:47 +0000 Subject: gentoo (leap year) resync : 29.02.2020 --- .../iverilog/files/iverilog-10.3-fno-common.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 sci-electronics/iverilog/files/iverilog-10.3-fno-common.patch (limited to 'sci-electronics/iverilog/files') diff --git a/sci-electronics/iverilog/files/iverilog-10.3-fno-common.patch b/sci-electronics/iverilog/files/iverilog-10.3-fno-common.patch new file mode 100644 index 000000000000..3bb06c6db42c --- /dev/null +++ b/sci-electronics/iverilog/files/iverilog-10.3-fno-common.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/706366 +--- a/driver/cflexor.lex ++++ b/driver/cflexor.lex +@@ -27,6 +27,8 @@ + # include "globals.h" + # include + ++char *current_file = NULL; ++ + static int comment_enter; + static char* trim_trailing_white(char*txt, int trim); + +--- a/driver/cfparse_misc.h ++++ b/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 */ +--- a/libveriuser/priv.h ++++ b/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 */ + -- cgit v1.2.3