ports/math/p5-Text-AsciiTeX/files/patch-src_asciitex_asciiTeX.c
Robert Clausecker 30ff653015 math/p5-Text-AsciiTeX: fix build with -fno-common
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)
2023-04-17 11:27:26 +02:00

10 lines
207 B
C

--- 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;