summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-04-15 20:10:53 -0700
committerMichael Forney <mforney@mforney.org>2020-04-15 20:10:53 -0700
commit953057027e706ace0ba7f9fa1f9b173a1a6c8a11 (patch)
tree2a78354915ed56643cf1c1a9b7c15054b4bf9965 /pkg
parente617f7bdf20027bbe90ec1a5220c7d1671a04782 (diff)
openntpd: Fix build with old bison versions
Diffstat (limited to 'pkg')
-rw-r--r--pkg/openntpd/patch/0004-Fix-build-with-old-bison-versions.patch24
-rw-r--r--pkg/openntpd/ver2
2 files changed, 25 insertions, 1 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
+
diff --git a/pkg/openntpd/ver b/pkg/openntpd/ver
index 3274158c..ec41093b 100644
--- a/pkg/openntpd/ver
+++ b/pkg/openntpd/ver
@@ -1 +1 @@
-6.2p3 r3
+6.2p3 r4