freebsd-ports/cad/iverilog/files/patch-libveriuser_priv.h
Niclas Zeising ef7b401e4e cad/iverilog: Fix build with -fno-common
Fix the build with -fno-common, which is the default in llvm 11 (and gcc10).

MFH:		2020Q3
2020-08-18 17:41:24 +00:00

12 lines
299 B
C

--- 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 */