summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-06-10 09:12:35 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-06-10 09:12:35 +0200
commit46f52034bad88ca6a60e3fe69466e91189172faa (patch)
tree4b18a77f2cbd142de4d6f1b12022553f3cde9ab9 /media-sound
parentmedia-libs/lilv: removed obsolote 0.24.4-r1 (diff)
downloadgentoo-46f52034bad88ca6a60e3fe69466e91189172faa.tar.gz
gentoo-46f52034bad88ca6a60e3fe69466e91189172faa.tar.bz2
gentoo-46f52034bad88ca6a60e3fe69466e91189172faa.zip
media-sound/linuxsampler: fixed yyterror not declared in 2.1.1
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/linuxsampler/files/linuxsampler-2.1.1-fix-yyterror-not-declared.patch16
-rw-r--r--media-sound/linuxsampler/linuxsampler-2.1.1.ebuild3
2 files changed, 18 insertions, 1 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 00000000000..4eb56fddef1
--- /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
+
+ /**
diff --git a/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild b/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild
index 3361f366169..d12a254629b 100644
--- a/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild
+++ b/media-sound/linuxsampler/linuxsampler-2.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -35,6 +35,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-2.0.0-nptl-hardened.patch"
"${FILESDIR}/${PN}-2.0.0-lv2-automagic.patch"
+ "${FILESDIR}/${P}-fix-yyterror-not-declared.patch"
)
DOCS=( AUTHORS ChangeLog NEWS README )