commit: 558218a684dc12893277c85fafba4e8b47aa2dda
parent 682ca9517e9d26c54e6d4bfaa476808ef4b33377
Author: Michael Forney <mforney@mforney.org>
Date: Tue, 2 Mar 2021 03:28:54 -0800
ncompress: Update to 5.0
Diffstat:
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/pkg/ncompress/config.h b/pkg/ncompress/config.h
@@ -1,4 +0,0 @@
-#define DIRENT
-#define LSTAT
-#define USERMEM 800000
-#define UTIME_H
diff --git 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'
diff --git a/pkg/ncompress/ver b/pkg/ncompress/ver
@@ -1 +1 @@
-4.2.4.6 r0
+5.0 r0