about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/compression/ncompress/makefile.patch
blob: b61b1272f8bd27fbf6568864161e43566b6a9386 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)