diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-04 20:25:10 +0100 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-02-09 10:59:19 -0600 |
commit | fec4effdd2bd2dfce8775be5ee50ef475b593dfc (patch) | |
tree | 97346d7f566f83179397ea09706f9ee68da49213 /app-office/magicpoint/files | |
parent | app-admin/radmind: bump to 1.15.3 (diff) | |
download | gentoo-fec4effdd2bd2dfce8775be5ee50ef475b593dfc.tar.gz gentoo-fec4effdd2bd2dfce8775be5ee50ef475b593dfc.tar.bz2 gentoo-fec4effdd2bd2dfce8775be5ee50ef475b593dfc.zip |
app-office/magicpoint: Fix build with gcc-10
Closes: https://bugs.gentoo.org/746488
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-office/magicpoint/files')
-rw-r--r-- | app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch b/app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch new file mode 100644 index 000000000000..1dcf1fb535cf --- /dev/null +++ b/app-office/magicpoint/files/magicpoint-1.13a_p20121015-fno-common.patch @@ -0,0 +1,11 @@ +--- a/grammar.y ++++ b/grammar.y +@@ -73,7 +73,7 @@ static struct qual qerr = { Q_UNDEF, Q_UNDEF, Q_UNDEF, Q_UNDEF }; + 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 */ |