diff options
| author | Michael Forney <mforney@mforney.org> | 2019-10-26 21:46:37 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-10-26 21:46:37 -0700 |
| commit | 3b073f5ad77a94468344c4d8d06f7e31ce1e9b4f (patch) | |
| tree | 6640de86c71e29ae5b1434091d1a0df1b2251b33 /pkg/byacc | |
| parent | 6f4db8bb89f1d25f0163b0abe8a10c581dc93f03 (diff) | |
Add byacc 20190617
Diffstat (limited to 'pkg/byacc')
| -rw-r--r-- | pkg/byacc/.gitignore | 2 | ||||
| -rw-r--r-- | pkg/byacc/config.h | 31 | ||||
| -rw-r--r-- | pkg/byacc/gen.lua | 27 | ||||
| -rw-r--r-- | pkg/byacc/sha256 | 1 | ||||
| -rw-r--r-- | pkg/byacc/url | 1 | ||||
| -rw-r--r-- | pkg/byacc/ver | 1 |
6 files changed, 63 insertions, 0 deletions
diff --git a/pkg/byacc/.gitignore b/pkg/byacc/.gitignore new file mode 100644 index 00000000..64be78b0 --- /dev/null +++ b/pkg/byacc/.gitignore @@ -0,0 +1,2 @@ +/byacc-20190617.tgz +/src diff --git a/pkg/byacc/config.h b/pkg/byacc/config.h new file mode 100644 index 00000000..d5699fe0 --- /dev/null +++ b/pkg/byacc/config.h @@ -0,0 +1,31 @@ +/* #undef GCC_NORETURN */ +/* #undef GCC_PRINTF */ +/* #undef GCC_PRINTFLIKE */ +/* #undef GCC_SCANF */ +/* #undef GCC_SCANFLIKE */ +/* #undef GCC_UNUSED */ +#define HAVE_FCNTL_H 1 +#define HAVE_INTTYPES_H 1 +/* #undef HAVE_LIBDBMALLOC */ +/* #undef HAVE_LIBDMALLOC */ +#define HAVE_MEMORY_H 1 +#define HAVE_MKSTEMP 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_VSNPRINTF 1 +/* #undef MAXTABLE */ +#define MIXEDCASE_FILENAMES 1 +/* #undef NO_LEAKS */ +#define STDC_HEADERS 1 +#define SYSTEM_NAME "linux-gnu" +/* #undef USE_DBMALLOC */ +/* #undef USE_DMALLOC */ +/* #undef USE_VALGRIND */ +/* #undef YYBTYACC */ +/* #undef YY_NO_LEAKS */ +/* #undef mode_t */ diff --git a/pkg/byacc/gen.lua b/pkg/byacc/gen.lua new file mode 100644 index 00000000..bbf73484 --- /dev/null +++ b/pkg/byacc/gen.lua @@ -0,0 +1,27 @@ +cflags{ + '-Wall', '-pedantic', + '-D HAVE_CONFIG_H', + '-D YYPATCH=20190617', + '-I $dir', +} + +exe('yacc', { + 'closure.c', + 'error.c', + 'graph.c', + 'lalr.c', + 'lr0.c', + 'main.c', + 'mkpar.c', + 'mstring.c', + 'output.c', + 'reader.c', + 'yaccpar.c', + 'symtab.c', + 'verbose.c', + 'warshall.c', +}) +file('bin/yacc', '755', '$outdir/yacc') +man{'yacc.1'} + +fetch 'curl' diff --git a/pkg/byacc/sha256 b/pkg/byacc/sha256 new file mode 100644 index 00000000..fb835472 --- /dev/null +++ b/pkg/byacc/sha256 @@ -0,0 +1 @@ +f87868167b920bf2cb30fc32b62f63ae15671181ef329226d1063100be02518d byacc-20190617.tgz diff --git a/pkg/byacc/url b/pkg/byacc/url new file mode 100644 index 00000000..bbb7e49f --- /dev/null +++ b/pkg/byacc/url @@ -0,0 +1 @@ +url = "https://invisible-mirror.net/archives/byacc/byacc-20190617.tgz"
\ No newline at end of file diff --git a/pkg/byacc/ver b/pkg/byacc/ver new file mode 100644 index 00000000..daaa33b7 --- /dev/null +++ b/pkg/byacc/ver @@ -0,0 +1 @@ +20190617 r0 |
