summaryrefslogtreecommitdiff
path: root/pkg/openntpd/patch/0002-Fix-build-with-old-bison-versions.patch
blob: e4ec657403b7e39aaf1a303b61fc9048d3a46ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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