%n gzip %v 1.2.4 %c * %l * %b * %d * %f * %t gzip-1.2.4.tgz %w Gnu %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N gzip-1.2.4/Makefile.in gzip-MCC/Makefile.in --- gzip-1.2.4/Makefile.in Tue Aug 17 18:12:40 1993 +++ gzip-MCC/Makefile.in Sat Aug 10 18:03:11 1996 @@ -28,6 +28,6 @@ INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = install -s -m 555 +INSTALL_DATA = install -m 444 # Things you might add to DEFS (configure usually figures out what to do): @@ -64,5 +64,5 @@ # -DNO_SIZE_CHECK stat() does not give a reliable file size -DEFS = @DEFS@ +DEFS = -DNO_UNDERLINE @DEFS@ LIBS = @LIBS@ @@ -72,5 +72,5 @@ SEDCMD = @SEDCMD@ -CFLAGS = @CFLAGS@ +CFLAGS = -O6 -fomit-frame-pointer # If you want debug on by default, use: CFLAGS="-g" ./configure LDFLAGS = $(CFLAGS) @@ -119,5 +119,5 @@ OBJS = gzip$O zip$O deflate$O trees$O bits$O unzip$O inflate$O util$O \ - crypt$O lzw$O unlzw$O unpack$O unlzh$O getopt$O $(OBJA) + crypt$O lzw$O unlzw$O unpack$O unlzh$O $(OBJA) HDRS = gzip.h lzw.h tailor.h revision.h crypt.h getopt.h @@ -234,10 +234,6 @@ chmod 644 $(ZCAT).$(manext) $(G)zcmp.$(manext) gunzip.$(manext);\ else \ - ln gzip.$(manext) $(ZCAT).$(manext);\ - ln $(G)zdiff.$(manext) $(G)zcmp.$(manext);\ - ln gzip.$(manext) gunzip.$(manext);\ + gzip -9f gzip.1 gzexe.1 zdiff.1 zgrep.1 zmore.1 znew.1 zforce.1;\ fi - -cd $(srcdir); for f in gzip.info* ; do $(INSTALL_DATA) $${f} \ - $(infodir)/$${f}; done uninstall: force diff -ru2N gzip-1.2.4/util.c gzip-MCC/util.c --- gzip-1.2.4/util.c Fri Aug 13 13:35:40 1993 +++ gzip-MCC/util.c Sat Aug 10 18:04:01 1996 @@ -156,4 +156,5 @@ while ((n = write(fd, buf, cnt)) != cnt) { if (n == (unsigned)(-1)) { + if (errno == EPIPE) abort_gzip(); write_error(); } ENDPATCH ./configure --prefix=/usr make * make install * rmdir /usr/info %%