https://github.com/termux/termux-packages/issues/15852 Borrowed from https://github.com/gentoo/gentoo/blob/f9f2aed0b0a013a41482148a0224d14f70ea6818/app-text/dictd/files/dictd-1.13.0-lex.patch From: orbea Date: Sat, 18 Jun 2022 09:10:18 -0700 Subject: [PATCH] build: Fix implicit function declarations --- a/clientparse.y +++ b/clientparse.y @@ -24,6 +24,9 @@ #define YYERROR_VERBOSE static dictServer *s; + +int yylex(); +void yyerror(const char *s); %} %union { --- a/servparse.y +++ b/servparse.y @@ -30,6 +30,9 @@ static dictDatabase *db; +int yylex(); +void yyerror(const char *s); + static int string2bool (const char *str) { if (