commit: 953057027e706ace0ba7f9fa1f9b173a1a6c8a11
parent e617f7bdf20027bbe90ec1a5220c7d1671a04782
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 15 Apr 2020 20:10:53 -0700
openntpd: Fix build with old bison versions
Diffstat:
2 files changed, 25 insertions(+), 1 deletion(-)
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
@@ -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
@@ -1 +1 @@
-6.2p3 r3
+6.2p3 r4