diff options
-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 \ |