ncompress: 4.2.4.6 -> 5.0

This commit is contained in:
Armijn Hemel 2021-02-18 13:28:34 +01:00
parent 266b6cdea3
commit 5abd0ceeb5
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "ncompress-4.2.4.6";
name = "ncompress-5.0";
builder = ./builder.sh;
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://sourceforge/project/ncompress/${name}.tar.gz";
sha256 = "0sw3c7h80v9pagfqfx16ws9w2y3yrajrdk54bgiwdm0b0q06lyzv";
sha256 = "004r086c11sw9vg2j3srgxpz98w8pycjl33bk3pgqnd0s92igrn4";
};
meta = {

View File

@ -5,8 +5,8 @@ diff -Naur ncompress-4.2.4.2.orig/Makefile.def ncompress-4.2.4.2/Makefile.def
# -DDEF_ERRNO=1 Define error (not defined in errno.h).
# -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
#
-options= $(CFLAGS) $(CPPFLAGS) -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3
+options= $(CFLAGS) $(CPPFLAGS) -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3 -DNOFUNCDEF=1
-options= $(CFLAGS) $(CPPFLAGS) -DUSERMEM=800000
+options= $(CFLAGS) $(CPPFLAGS) -DUSERMEM=800000 -DNOFUNCDEF=1
# libary options
LBOPT= $(LDFLAGS)