[comp.emacs] Problem with ISC patch for emacs

mt00@eurotherm.co.uk (Martin Tomes) (12/04/90)

> I am having some problems with the ISC patch you posted for emacs.  error
> is as follows:
> 
> -------
> |To make an s-isc.h copy s-usg5-2.h to s-isc.h and apply this diff:
> |
> |*** s-isc.h-dist	Thu Mar  5 20:12:53 1987
> |--- s-isc.h	Wed Nov 21 13:38:08 1990
> --------------------------
> Patching file s-isc.h using Plan A...
> Hunk #1 succeeded at 27 with fuzz 1.
> Hunk #2 failed at 64.
> 1 out of 2 hunks failed--saving rejects to s-isc.h#
> Hmm...  The next patch looks like a new-style context diff to me...
> The text leading up to this was:
> --------------------------

You are right it doesn't work!  Here is one which does.

To make an s-isc.h copy s-usg5-2.h to s-isc.h and apply this diff:

*** s-isc.h-dist	Tue Dec  4 08:58:51 1990
--- s-isc.h	Tue Dec  4 08:58:56 1990
***************
*** 27,32 ****
--- 27,36 ----
  #define USG				/* System III, System V, etc */
  
  #define USG5
+ #define ISC			/* Identifies Interactive UNIX. */
+ #define LIBS_SYSTEM /usr/local/lib/gcc-gnulib
+ #define LIBX11_SYSTEM -linet
+ #define HAVE_SYSVIPC
  
  /* SYSTEM_TYPE should indicate the kind of system you are using.
   It sets the Lisp variable system-type.  */
***************
*** 60,72 ****
   *	Look in <sys/time.h> for a timeval structure.
   */
  
! /* #define HAVE_TIMEVAL */
   
  /*
   *	Define HAVE_SELECT if the system supports the `select' system call.
   */
  
! /* #define HAVE_SELECT */
  
  /*
   *	Define HAVE_PTYS if the system supports pty devices.
--- 64,77 ----
   *	Look in <sys/time.h> for a timeval structure.
   */
  
! #define HAVE_TIMEVAL
! #define USE_UTIME		/* Does not have utimes call. */
   
  /*
   *	Define HAVE_SELECT if the system supports the `select' system call.
   */
  
! /* #define HAVE_SELECT /* Almost works.  Stops sub process stuff from working. */
  
  /*
   *	Define HAVE_PTYS if the system supports pty devices.
***************
*** 132,138 ****
     is named avenrun.  */
  
  #define LDAV_SYMBOL "avenrun"
! 
  /* Special hacks needed to make Emacs run on this system.  */
  
  /*
--- 137,143 ----
     is named avenrun.  */
  
  #define LDAV_SYMBOL "avenrun"
! 
  /* Special hacks needed to make Emacs run on this system.  */
  
  /*


Martin Tomes

Janet:    mtomes@uk.co.eurotherm    | Eurotherm Limited, Faraday Close,
Internet: mtomes@eurotherm.co.uk    | Durrington, Worthing, W.Sussex, England.
UUCP:     {ukc,uunet}!etherm!mtomes | Phone: +44 903 68500  Fax: +44 903 65982