diff options
| author | Michael Forney <mforney@mforney.org> | 2019-11-04 18:22:00 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-11-04 18:22:00 -0800 |
| commit | e41789f435b31a4fd143f784b189317bfcb6bac4 (patch) | |
| tree | 67b6072ac8c4180a65ed0dcaeef096e828685308 | |
| parent | 887f731a75aff6a8671d8215d133894893f1d150 (diff) | |
byacc: Update to 20191103
| -rw-r--r-- | pkg/byacc/.gitignore | 2 | ||||
| -rw-r--r-- | pkg/byacc/config.h | 4 | ||||
| -rw-r--r-- | pkg/byacc/gen.lua | 2 | ||||
| -rw-r--r-- | pkg/byacc/patch/0001-Prevent-multiple-definitions-of-code_lines.patch | 25 | ||||
| -rw-r--r-- | pkg/byacc/sha256 | 2 | ||||
| -rw-r--r-- | pkg/byacc/url | 2 | ||||
| -rw-r--r-- | pkg/byacc/ver | 2 |
7 files changed, 34 insertions, 5 deletions
diff --git a/pkg/byacc/.gitignore b/pkg/byacc/.gitignore index 64be78b0..d7c50dd6 100644 --- a/pkg/byacc/.gitignore +++ b/pkg/byacc/.gitignore @@ -1,2 +1,2 @@ -/byacc-20190617.tgz +/byacc-20191103.tgz /src diff --git a/pkg/byacc/config.h b/pkg/byacc/config.h index d5699fe0..09029061 100644 --- a/pkg/byacc/config.h +++ b/pkg/byacc/config.h @@ -5,6 +5,9 @@ /* #undef GCC_SCANFLIKE */ /* #undef GCC_UNUSED */ #define HAVE_FCNTL_H 1 +#define HAVE_GETOPT 1 +#define HAVE_GETOPT_H 1 +#define HAVE_GETOPT_HEADER 1 #define HAVE_INTTYPES_H 1 /* #undef HAVE_LIBDBMALLOC */ /* #undef HAVE_LIBDMALLOC */ @@ -20,6 +23,7 @@ #define HAVE_VSNPRINTF 1 /* #undef MAXTABLE */ #define MIXEDCASE_FILENAMES 1 +/* #undef NEED_GETOPT_H */ /* #undef NO_LEAKS */ #define STDC_HEADERS 1 #define SYSTEM_NAME "linux-gnu" diff --git a/pkg/byacc/gen.lua b/pkg/byacc/gen.lua index bbf73484..5adda9a1 100644 --- a/pkg/byacc/gen.lua +++ b/pkg/byacc/gen.lua @@ -1,7 +1,7 @@ cflags{ '-Wall', '-pedantic', '-D HAVE_CONFIG_H', - '-D YYPATCH=20190617', + '-D YYPATCH=20191103', '-I $dir', } diff --git a/pkg/byacc/patch/0001-Prevent-multiple-definitions-of-code_lines.patch b/pkg/byacc/patch/0001-Prevent-multiple-definitions-of-code_lines.patch new file mode 100644 index 00000000..1aa1c5f6 --- /dev/null +++ b/pkg/byacc/patch/0001-Prevent-multiple-definitions-of-code_lines.patch @@ -0,0 +1,25 @@ +From 71ddf61cc892a771d15d95937f1f13a9ce17e98b Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Mon, 4 Nov 2019 18:20:04 -0800 +Subject: [PATCH] Prevent multiple definitions of `code_lines` + +--- + defs.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/defs.h b/defs.h +index 99d409c..2f3f923 100644 +--- a/defs.h ++++ b/defs.h +@@ -592,7 +592,7 @@ typedef enum + ,CODE_MAX /* this must be last */ + } + CODE_CASES; +-struct code_lines ++extern struct code_lines + { + char *lines; + size_t num; +-- +2.24.0 + diff --git a/pkg/byacc/sha256 b/pkg/byacc/sha256 index fb835472..6c0b7c5e 100644 --- a/pkg/byacc/sha256 +++ b/pkg/byacc/sha256 @@ -1 +1 @@ -f87868167b920bf2cb30fc32b62f63ae15671181ef329226d1063100be02518d byacc-20190617.tgz +d291fb34816f45079067366b7f7300ffbf9f7e3f1aaf6d509b84442d065d11b9 byacc-20191103.tgz diff --git a/pkg/byacc/url b/pkg/byacc/url index bbb7e49f..b8e9668d 100644 --- a/pkg/byacc/url +++ b/pkg/byacc/url @@ -1 +1 @@ -url = "https://invisible-mirror.net/archives/byacc/byacc-20190617.tgz"
\ No newline at end of file +url = "https://invisible-mirror.net/archives/byacc/byacc-20191103.tgz"
\ No newline at end of file diff --git a/pkg/byacc/ver b/pkg/byacc/ver index daaa33b7..5301aa2c 100644 --- a/pkg/byacc/ver +++ b/pkg/byacc/ver @@ -1 +1 @@ -20190617 r0 +20191103 r0 |
