diff options
Diffstat (limited to 'math/p5-Text-AsciiTeX/files')
-rw-r--r-- | math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX.c | 10 | ||||
-rw-r--r-- | math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX__struct.h | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX.c b/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX.c new file mode 100644 index 000000000000..32053fdb8d10 --- /dev/null +++ b/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX.c @@ -0,0 +1,10 @@ +--- src/asciitex/asciiTeX.c.orig 2023-04-16 15:12:02 UTC ++++ src/asciitex/asciiTeX.c +@@ -38,6 +38,7 @@ + #include "dim.h" + #include "utils.h" + ++STAT SYNTAX_ERR_FLAG; + char ** messages; + int Nmes; + int Nall; diff --git a/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX__struct.h b/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX__struct.h new file mode 100644 index 000000000000..519eec7a3bcc --- /dev/null +++ b/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX__struct.h @@ -0,0 +1,9 @@ +--- 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 |