logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 3b073f5ad77a94468344c4d8d06f7e31ce1e9b4f
parent 6f4db8bb89f1d25f0163b0abe8a10c581dc93f03
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 26 Oct 2019 21:46:37 -0700

Add byacc 20190617

Diffstat:

Apkg/byacc/.gitignore2++
Apkg/byacc/config.h31+++++++++++++++++++++++++++++++
Apkg/byacc/gen.lua27+++++++++++++++++++++++++++
Apkg/byacc/sha2561+
Apkg/byacc/url2++
Apkg/byacc/ver1+
Mpkg/gen.lua1+
7 files changed, 65 insertions(+), 0 deletions(-)

diff --git a/pkg/byacc/.gitignore b/pkg/byacc/.gitignore @@ -0,0 +1,2 @@ +/byacc-20190617.tgz +/src diff --git a/pkg/byacc/config.h 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 @@ -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 @@ -0,0 +1 @@ +f87868167b920bf2cb30fc32b62f63ae15671181ef329226d1063100be02518d byacc-20190617.tgz diff --git a/pkg/byacc/url 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 @@ -0,0 +1 @@ +20190617 r0 diff --git a/pkg/gen.lua b/pkg/gen.lua @@ -5,6 +5,7 @@ subgen 'awk' subgen 'bc' subgen 'bearssl' subgen 'blind' +subgen 'byacc' subgen 'bzip2' subgen 'cmark' subgen 'cproc'