*** makefile.orig Thu Oct 13 17:33:34 1994 --- makefile Sat Dec 17 03:59:56 1994 *************** *** 89,95 **** @echo " sco-2.0, sgigcc, sgigcc_asm, solx86gcc, sun386i, sun3asm," @echo " sun3cc(*), sun3gcc, sun4cc(*), sun4gcc, sun4sunos5gcc," @echo " sun4acc, sun4sunos5acc, sunspc, sysv_386, vax-ultrix," ! @echo " vax_bsd43, x286(*), xenix386" @echo "" @echo "For targets marked with (*) you must first get unproto." @echo "See setup.doc for further details." --- 89,95 ---- @echo " sco-2.0, sgigcc, sgigcc_asm, solx86gcc, sun386i, sun3asm," @echo " sun3cc(*), sun3gcc, sun4cc(*), sun4gcc, sun4sunos5gcc," @echo " sun4acc, sun4sunos5acc, sunspc, sysv_386, vax-ultrix," ! @echo " vax_bsd43, x286(*), xenix386, freebsd" @echo "" @echo "For targets marked with (*) you must first get unproto." @echo "See setup.doc for further details." *************** *** 160,165 **** --- 160,169 ---- linux: $(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \ CFLAGS="$(RSAINCDIR) -O6 -g3 -DUNIX -DIDEA32 -DASM" + + freebsd: + $(MAKE) all LD="$(CC) -s" OBJS_EXT="_80386.o _zmatch.o" \ + CFLAGS="$(RSAINCDIR) -O2 -DUNIX -DIDEA32 -DASM -DMAX_NAMELEN=255" 386bsd: $(MAKE) all CC=gcc LD=gcc OBJS_EXT="_80386.o _zmatch.o" \ *** zipup.c.bak Sun Oct 16 20:21:39 1994 --- zipup.c Thu Dec 22 07:36:05 1994 *************** *** 14,22 **** #define NOCPYRT /* this is not a main module */ #include ! #ifdef __QNX__ ! #include ! #endif #include "zip.h" #include "zrevisio.h" --- 14,20 ---- #define NOCPYRT /* this is not a main module */ #include ! #include "system.h" #include "zip.h" #include "zrevisio.h" *************** *** 39,47 **** # include # define fhow (O_RDONLY|O_BINARY) # else /* !MSDOS */ ! #if !(defined(AMIGA) || defined(__NetBSD__)) long lseek(); ! #endif /* AMIGA */ # define fhow 0 # endif /* ?MSDOS */ typedef int ftype; --- 37,45 ---- # include # define fhow (O_RDONLY|O_BINARY) # else /* !MSDOS */ ! #ifndef HAVE_UNISTD_H long lseek(); ! #endif /* !HAVE_UNISTD_H */ # define fhow 0 # endif /* ?MSDOS */ typedef int ftype;