1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- fix build with -fno-common

This commit is contained in:
Dirk Meyer 2020-05-21 06:45:34 +00:00
parent 4491189dc5
commit b6b169c554
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536074

View File

@ -1,6 +1,6 @@
--- grammar.y.orig 2008-01-18 17:43:20 UTC
+++ grammar.y
@@ -70,6 +70,8 @@
@@ -70,10 +70,12 @@
static struct qual qerr = { Q_UNDEF, Q_UNDEF, Q_UNDEF, Q_UNDEF };
#endif
@ -9,3 +9,8 @@
int n_errors = 0;
struct ctrl *root;
char *yyfilename;
-int yylineno;
+extern int yylineno;
#ifdef HAVE_STDARG_H
/* GCC complains if we declare this function in traditional style */