summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-03-02 03:28:54 -0800
committerMichael Forney <mforney@mforney.org>2021-03-02 16:20:18 -0800
commit558218a684dc12893277c85fafba4e8b47aa2dda (patch)
tree5cdf460bb3771303c430b9dc49411b7c98e2c0e3
parent682ca9517e9d26c54e6d4bfaa476808ef4b33377 (diff)
ncompress: Update to 5.0
-rw-r--r--pkg/ncompress/config.h4
-rw-r--r--pkg/ncompress/gen.lua6
m---------pkg/ncompress/src0
-rw-r--r--pkg/ncompress/ver2
4 files changed, 5 insertions, 7 deletions
diff --git a/pkg/ncompress/config.h b/pkg/ncompress/config.h
deleted file mode 100644
index 3f055e58..00000000
--- a/pkg/ncompress/config.h
+++ /dev/null
@@ -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
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'
diff --git a/pkg/ncompress/src b/pkg/ncompress/src
-Subproject 0884f323a5afc99658cf47584acfcf695717cac
+Subproject e77a84ca5a69f01ccfe149e48d10ac563e6c375
diff --git a/pkg/ncompress/ver b/pkg/ncompress/ver
index 0c2a8cb8..89aa16a6 100644
--- a/pkg/ncompress/ver
+++ b/pkg/ncompress/ver
@@ -1 +1 @@
-4.2.4.6 r0
+5.0 r0