diff options
| -rw-r--r-- | pkg/openntpd/patch/0004-Fix-build-with-old-bison-versions.patch | 24 | ||||
| -rw-r--r-- | pkg/openntpd/ver | 2 |
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 |
