[comp.mail.elm] elm2.0Gamma.tar.Z patch

oneill@bu-tyng.bu.edu (Brian O'Neill) (06/02/88)

Here is the patch for the Elm 2.0 tar file available from swan.ulowell.edu. 
After unpacking the tar file, feed this context diff to patch, then follow
the compiling instructions. This fixes the two problems I mentioned before
in utils/newmail.c and filter/Makefile.mstr.

-- 
===================================================================
Brian O'Neill
Wang Institute of Boston University, Tyngsboro, MA
{decvax,elrond,[backbone]!ulowell}!bu-tyng!oneill

oneill@bu-tyng.bu.edu (Brian O'Neill) (06/02/88)

In article <1568@bu-tyng.bu.edu> oneill@bu-tyng.UUCP (Brian O'Neill) writes:
>Here is the patch for the Elm 2.0 tar file available from swan.ulowell.edu. 

Figures, forgot to read in the diff file...

Common subdirectories: old.elm/bin and new.elm/bin
Common subdirectories: old.elm/doc and new.elm/doc
Common subdirectories: old.elm/filter and new.elm/filter
Common subdirectories: old.elm/hdrs and new.elm/hdrs
Common subdirectories: old.elm/src and new.elm/src
Common subdirectories: old.elm/test and new.elm/test
Common subdirectories: old.elm/utils and new.elm/utils
diff -cr old.elm/filter/Makefile.mstr new.elm/filter/Makefile.mstr
*** old.elm/filter/Makefile.mstr	Thu May 12 11:46:23 1988
--- new.elm/filter/Makefile.mstr	Wed May 25 20:10:15 1988
***************
*** 17,23
  
  OBJ     =   ../bin/filter
  HDRS    =   ../hdrs/defs.h ../hdrs/sysdefs.h ../hdrs/filter.h
! BINARIES=   actions.o filter.o lock.o parse.o rules.o 	\
  	    summarize.o utils.o utils2.o
  SRC     =   actions.c filter.c lock.c parse.c rules.c 	\
  	    summarize.c utils.c utils2.c

--- 17,23 -----
  
  OBJ     =   ../bin/filter
  HDRS    =   ../hdrs/defs.h ../hdrs/sysdefs.h ../hdrs/filter.h
! BINARIES=   actions.o buffer.o filter.o lock.o parse.o rules.o 	\
  	    summarize.o utils.o utils2.o
  SRC     =   actions.c buffer.c filter.c lock.c parse.c rules.c 	\
  	    summarize.c utils.c utils2.c
***************
*** 19,25
  HDRS    =   ../hdrs/defs.h ../hdrs/sysdefs.h ../hdrs/filter.h
  BINARIES=   actions.o filter.o lock.o parse.o rules.o 	\
  	    summarize.o utils.o utils2.o
! SRC     =   actions.c filter.c lock.c parse.c rules.c 	\
  	    summarize.c utils.c utils2.c
  
  all: ${OBJ}

--- 19,25 -----
  HDRS    =   ../hdrs/defs.h ../hdrs/sysdefs.h ../hdrs/filter.h
  BINARIES=   actions.o buffer.o filter.o lock.o parse.o rules.o 	\
  	    summarize.o utils.o utils2.o
! SRC     =   actions.c buffer.c filter.c lock.c parse.c rules.c 	\
  	    summarize.c utils.c utils2.c
  
  all: ${OBJ}
***************
*** 29,34
  
  actions.o : ${HDRS} actions.c
  	${CC} -c ${CFLAGS} ${DEFINE} actions.c
  
  filter.o : ${HDRS} filter.c
  	${CC} -c ${CFLAGS} ${DEFINE} filter.c

--- 29,37 -----
  
  actions.o : ${HDRS} actions.c
  	${CC} -c ${CFLAGS} ${DEFINE} actions.c
+ 
+ buffer.o : ${HDRS} buffer.c
+ 	${CC} -c ${CFLAGS} ${DEFINE} buffer.c
  
  filter.o : ${HDRS} filter.c
  	${CC} -c ${CFLAGS} ${DEFINE} filter.c
diff -cr old.elm/utils/newmail.c new.elm/utils/newmail.c
*** old.elm/utils/newmail.c	Thu May 12 12:08:56 1988
--- new.elm/utils/newmail.c	Wed May 25 19:41:05 1988
***************
*** 90,96
  char *argv[];
  {
  	extern char *optarg;
! 	extern int   optind, opterr;
  	char *ptr;
  	int c, i, done;
  	long lastsize,

--- 90,96 -----
  char *argv[];
  {
  	extern char *optarg;
! 	extern int   optind, opterr, errno;
  	char *ptr;
  	int c, i, done;
  	long lastsize,
-- 
===================================================================
Brian O'Neill
Wang Institute of Boston University, Tyngsboro, MA
{decvax,elrond,[backbone]!ulowell}!bu-tyng!oneill