diff options
author | Sam James <sam@gentoo.org> | 2023-02-13 00:17:15 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-13 00:17:42 +0000 |
commit | 192cd4d71140674f42364774cfb1b9f809c27b74 (patch) | |
tree | a9fac27b3afe8560469417ca650ece7ddd8f4af6 /media-sound | |
parent | app-crypt/certbot: stabilize 2.2.0-r1 for amd64, x86 (diff) | |
download | gentoo-192cd4d71140674f42364774cfb1b9f809c27b74.tar.gz gentoo-192cd4d71140674f42364774cfb1b9f809c27b74.tar.bz2 gentoo-192cd4d71140674f42364774cfb1b9f809c27b74.zip |
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@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mt-daapd/files/mt-daapd-0.2.4.2-clang16.patch | 2 | ||||
-rw-r--r-- | 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 \ |