commit: 192cd4d71140674f42364774cfb1b9f809c27b74 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Feb 13 00:17:15 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 13 00:17:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192cd4d7
media-sound/mt-daapd: build with byacc Incompatible with Bison 3 and this package is on life-support, long-dead upstream. Bug: https://bugs.gentoo.org/875011 Closes: https://bugs.gentoo.org/894024 Signed-off-by: Sam James <sam <AT> gentoo.org> media-sound/mt-daapd/files/mt-daapd-0.2.4.2-clang16.patch | 2 +- media-sound/mt-daapd/mt-daapd-0.2.4.2-r2.ebuild | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/media-sound/mt-daapd/files/mt-daapd-0.2.4.2-clang16.patch b/media-sound/mt-daapd/files/mt-daapd-0.2.4.2-clang16.patch index 3380cc0da44a..f9efbe4419bc 100644 --- a/media-sound/mt-daapd/files/mt-daapd-0.2.4.2-clang16.patch +++ b/media-sound/mt-daapd/files/mt-daapd-0.2.4.2-clang16.patch @@ -50,7 +50,7 @@ https://bugs.gentoo.org/875011 +#include <time.h> #include "playlist.h" -+#define YYPARSE_PARAM ++#define YYPARSE_PARAM param #define YYERROR_VERBOSE 1 extern int yyerror(char *msg); diff --git a/media-sound/mt-daapd/mt-daapd-0.2.4.2-r2.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.4.2-r2.ebuild index 1ef6c391d0db..0ed43fc3e9fb 100644 --- a/media-sound/mt-daapd/mt-daapd-0.2.4.2-r2.ebuild +++ b/media-sound/mt-daapd/mt-daapd-0.2.4.2-r2.ebuild @@ -25,7 +25,7 @@ RDEPEND=" )" DEPEND="${RDEPEND}" BDEPEND=" - app-alternatives/yacc + dev-util/byacc virtual/pkgconfig " @@ -50,6 +50,9 @@ src_prepare() { } src_configure() { + # Incompatible with Bison 3, dead upstream + export YACC=byacc + econf \ $(use_enable vorbis oggvorbis) \ --disable-maintainer-mode \
