From 5abd0ceeb537865c7cc2b5892a544f6dd4a7d553 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Thu, 18 Feb 2021 13:28:34 +0100 Subject: [PATCH] ncompress: 4.2.4.6 -> 5.0 --- pkgs/tools/compression/ncompress/default.nix | 4 ++-- pkgs/tools/compression/ncompress/makefile.patch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/compression/ncompress/default.nix b/pkgs/tools/compression/ncompress/default.nix index 438e169d23c9..9c2de6b96a67 100644 --- a/pkgs/tools/compression/ncompress/default.nix +++ b/pkgs/tools/compression/ncompress/default.nix @@ -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 = { diff --git a/pkgs/tools/compression/ncompress/makefile.patch b/pkgs/tools/compression/ncompress/makefile.patch index b61b1272f8bd..8669d5dd5dc7 100644 --- a/pkgs/tools/compression/ncompress/makefile.patch +++ b/pkgs/tools/compression/ncompress/makefile.patch @@ -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)