commit: 19c56f45a25af6da76133b2e27beb40fd5ad78df Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Nov 24 08:50:39 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Nov 24 09:04:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c56f45
app-misc/delay: fix build w/ clang 16 Closes: https://bugs.gentoo.org/881319 Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/delay/delay-1.6-r3.ebuild | 1 + app-misc/delay/files/delay-1.6-clang16.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/app-misc/delay/delay-1.6-r3.ebuild b/app-misc/delay/delay-1.6-r3.ebuild index 403d03af2144..6f8a2efbcd8f 100644 --- a/app-misc/delay/delay-1.6-r3.ebuild +++ b/app-misc/delay/delay-1.6-r3.ebuild @@ -20,6 +20,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-headers.patch "${FILESDIR}"/${P}-tinfo.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { diff --git a/app-misc/delay/files/delay-1.6-clang16.patch b/app-misc/delay/files/delay-1.6-clang16.patch new file mode 100644 index 000000000000..5deec4ea5194 --- /dev/null +++ b/app-misc/delay/files/delay-1.6-clang16.patch @@ -0,0 +1,12 @@ +--- a/parsetimey.y ++++ b/parsetimey.y +@@ -7,6 +7,9 @@ + + #define YYDEBUG 1 + ++int yyerror(char *s); ++int yylex(void); ++ + time_t currtime; + struct tm exectm; + static int isgmt;
