nixpkgs/pkgs/tools/compression/ncompress/makefile.patch
2021-02-04 21:39:53 +01:00

13 lines
573 B
Diff

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)