Merge pull request #113590 from armijnhemel/ncompress-5.0

ncompress: 4.2.4.6 -> 5.0
This commit is contained in:
Eelco Dolstra 2021-02-18 13:50:33 +01:00 committed by GitHub
commit 2e9689d055
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 16 deletions

View file

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

View file

@ -1,12 +0,0 @@
diff -Naur ncompress-4.2.4.2.orig/Makefile.def ncompress-4.2.4.2/Makefile.def
--- ncompress-4.2.4.2.orig/Makefile.def 2007-09-06 22:28:42.000000000 -0500
+++ ncompress-4.2.4.2/Makefile.def 2009-08-18 12:30:53.000000000 -0500
@@ -31,7 +33,7 @@
# -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
# libary options
LBOPT= $(LDFLAGS)