diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2020-05-21 06:45:34 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2020-05-21 06:45:34 +0000 |
commit | b6b169c554441a7720138c154c53a9dcced23eaf (patch) | |
tree | 54b8ca04437b22aa4b72ab91a923bdb6cae5494f /misc/magicpoint | |
parent | 4491189dc586ebb39d205f96197835ead5612bc3 (diff) | |
download | ports-b6b169c554441a7720138c154c53a9dcced23eaf.tar.gz ports-b6b169c554441a7720138c154c53a9dcced23eaf.zip |
- fix build with -fno-common
Notes
Notes:
svn path=/head/; revision=536074
Diffstat (limited to 'misc/magicpoint')
-rw-r--r-- | misc/magicpoint/files/patch-grammar.y | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/magicpoint/files/patch-grammar.y b/misc/magicpoint/files/patch-grammar.y index c306349d4e33..c4947e9944eb 100644 --- a/misc/magicpoint/files/patch-grammar.y +++ b/misc/magicpoint/files/patch-grammar.y @@ -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 */ |