summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/dictd/files/dictd-1.13.0-lex.patch')
-rw-r--r--app-text/dictd/files/dictd-1.13.0-lex.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-text/dictd/files/dictd-1.13.0-lex.patch b/app-text/dictd/files/dictd-1.13.0-lex.patch
new file mode 100644
index 000000000000..c69758c4805d
--- /dev/null
+++ b/app-text/dictd/files/dictd-1.13.0-lex.patch
@@ -0,0 +1,28 @@
+From: orbea <orbea@riseup.net>
+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 (