summaryrefslogtreecommitdiff
path: root/pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-12-07 23:22:26 -0800
committerMichael Forney <mforney@mforney.org>2020-12-08 00:44:04 -0800
commitce79db6bc2504e866c89dd479224e29cf46f2df6 (patch)
tree73fb9ee5ecc67c90c4f4076191780d42f03b549f /pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch
parentcc7c043292575605419e8e148120c1faf47d7b95 (diff)
openntpd: Update to 6.8p1
Diffstat (limited to 'pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch')
-rw-r--r--pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch b/pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch
new file mode 100644
index 00000000..e4ec6574
--- /dev/null
+++ b/pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch
@@ -0,0 +1,24 @@
+From 10b2b1ed0b275a0594033872104a53645c8b245c 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 4a101bcd6..742108c51 100644
+--- a/src/parse.y
++++ b/src/parse.y
+@@ -80,6 +80,7 @@ typedef struct {
+ } v;
+ int lineno;
+ } YYSTYPE;
++#define YYSTYPE_IS_DECLARED 1
+
+ %}
+
+--
+2.29.2
+