From 558218a684dc12893277c85fafba4e8b47aa2dda Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 2 Mar 2021 03:28:54 -0800 Subject: ncompress: Update to 5.0 --- pkg/ncompress/gen.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkg/ncompress/gen.lua') diff --git a/pkg/ncompress/gen.lua b/pkg/ncompress/gen.lua index b4ee6380..9c47ec32 100644 --- a/pkg/ncompress/gen.lua +++ b/pkg/ncompress/gen.lua @@ -1,10 +1,12 @@ cflags{ '-std=c99', '-Wall', '-Wpedantic', '-D _POSIX_C_SOURCE=200809L', - '-include $dir/config.h', + '-D UTIME_H', + '-D LSTAT', + '-D USERMEM=800000', } -exe('lzw', {'compress42.c'}) +exe('lzw', {'compress.c'}) file('bin/lzw', '755', '$outdir/lzw') fetch 'git' -- cgit v1.2.3