summaryrefslogtreecommitdiff
path: root/media-sound/linuxsampler/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /media-sound/linuxsampler/files
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'media-sound/linuxsampler/files')
-rw-r--r--media-sound/linuxsampler/files/linuxsampler-2.1.1-fix-yyterror-not-declared.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-sound/linuxsampler/files/linuxsampler-2.1.1-fix-yyterror-not-declared.patch b/media-sound/linuxsampler/files/linuxsampler-2.1.1-fix-yyterror-not-declared.patch
new file mode 100644
index 000000000000..4eb56fddef18
--- /dev/null
+++ b/media-sound/linuxsampler/files/linuxsampler-2.1.1-fix-yyterror-not-declared.patch
@@ -0,0 +1,16 @@
+--- linuxsampler-2.1.1/src/network/lscp.y 2020/06/07 15:39:31 3786
++++ linuxsampler-2.1.1/src/network/lscp.y 2020/06/08 11:55:18 3787
+@@ -1479,6 +1479,13 @@
+ */
+ typedef std::set< std::vector<YYTYPE_INT16> > YYStackHistory;
+
++/*
++ * YYTERROR macro was removed in Bison 3.6.0, we need it in function below.
++ */
++#ifndef YYTERROR
++# define YYTERROR YYSYMBOL_YYerror
++#endif
++
+ #define DEBUG_BISON_SYNTAX_ERROR_WALKER 0
+
+ /**