summaryrefslogtreecommitdiff
path: root/pkg/openntpd/patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/openntpd/patch')
-rw-r--r--pkg/openntpd/patch/0004-Fix-build-with-old-bison-versions.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/openntpd/patch/0004-Fix-build-with-old-bison-versions.patch b/pkg/openntpd/patch/0004-Fix-build-with-old-bison-versions.patch
new file mode 100644
index 00000000..446df021
--- /dev/null
+++ b/pkg/openntpd/patch/0004-Fix-build-with-old-bison-versions.patch
@@ -0,0 +1,24 @@
+From b204244b9e678064b7b519e049030bb0aeb029ed Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Wed, 15 Apr 2020 20:10:16 -0700
+Subject: [PATCH] Fix build with old bison versions
+
+---
+ src/parse.y | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/parse.y b/src/parse.y
+index eb7e9b9..7ae236b 100644
+--- a/src/parse.y
++++ b/src/parse.y
+@@ -79,6 +79,7 @@ typedef struct {
+ } v;
+ int lineno;
+ } YYSTYPE;
++#define YYSTYPE_IS_DECLARED 1
+
+ %}
+
+--
+2.26.1
+