mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Turn a variable definition in a header file into a declaration and move the definition to a source file. This fixes the build on FreeBSD 13+. Approved by: portmgr (build fix blanket)
9 lines
284 B
C
9 lines
284 B
C
--- src/asciitex/asciiTeX_struct.h.orig 2023-04-16 15:11:41 UTC
|
|
+++ src/asciitex/asciiTeX_struct.h
|
|
@@ -56,5 +56,5 @@ struct Tgraph { /* the order of fields is important-
|
|
};
|
|
|
|
typedef enum {S_NOERR, S_WARN, S_ERR} STAT;
|
|
-STAT SYNTAX_ERR_FLAG;
|
|
+extern STAT SYNTAX_ERR_FLAG;
|
|
#endif
|