diff -cr microcode.orig/bchmmg.c dist-7.3/microcode/bchmmg.c
*** microcode.orig/bchmmg.c	Sat Mar 25 17:22:40 1995
--- microcode/bchmmg.c	Sat Mar 25 17:23:05 1995
***************
*** 1890,1896 ****
  }
  
  extern char * EXFUN (mktemp, (char *));
! extern long EXFUN (lseek, (int, long, int));
  
  static void
  DEFUN (open_gc_file, (size, unlink_p),
--- 1890,1896 ----
  }
  
  extern char * EXFUN (mktemp, (char *));
! off_t    lseek __P((int, off_t, int));
  
  static void
  DEFUN (open_gc_file, (size, unlink_p),
diff -cr microcode.orig/cmpauxmd/i386.m4 dist-7.3/microcode/cmpauxmd/i386.m4
*** microcode.orig/cmpauxmd/i386.m4	Sat Mar 25 17:22:36 1995
--- microcode/cmpauxmd/i386.m4	Sat Mar 25 17:23:06 1995
***************
*** 251,257 ****
  
  define(TC_LENGTH, ifdef(`TYPE_CODE_LENGTH', TYPE_CODE_LENGTH, 8))
  define(DATUM_LENGTH, eval(32 - TC_LENGTH))
! define(DATUM_SHIFT, eval((2 ** DATUM_LENGTH)))
  define(ADDRESS_MASK, eval((DATUM_SHIFT - 1)))
  define(TAG, ($2 + ($1 * DATUM_SHIFT)))
  
--- 251,257 ----
  
  define(TC_LENGTH, ifdef(`TYPE_CODE_LENGTH', TYPE_CODE_LENGTH, 8))
  define(DATUM_LENGTH, eval(32 - TC_LENGTH))
! define(DATUM_SHIFT, eval((1 << DATUM_LENGTH)))
  define(ADDRESS_MASK, eval((DATUM_SHIFT - 1)))
  define(TAG, ($2 + ($1 * DATUM_SHIFT)))
  
***************
*** 735,741 ****
  asm_generic_$1_fix:
  	OP(mov,l)	TW(REG(edx),REG(eax))
  	OP(shl,l)	TW(IMM(TC_LENGTH),REG(eax))
! 	OP($3,l)	TW(IMM(eval(2 ** TC_LENGTH)),REG(eax))
  	jno	asm_generic_fixnum_result
  
  asm_generic_$1_fail:
--- 735,741 ----
  asm_generic_$1_fix:
  	OP(mov,l)	TW(REG(edx),REG(eax))
  	OP(shl,l)	TW(IMM(TC_LENGTH),REG(eax))
! 	OP($3,l)	TW(IMM(eval(1 << TC_LENGTH)),REG(eax))
  	jno	asm_generic_fixnum_result
  
  asm_generic_$1_fail:
diff -cr microcode.orig/s/386bsd.h dist-7.3/microcode/s/386bsd.h
*** microcode.orig/s/386bsd.h	Sat Mar 25 17:22:33 1995
--- microcode/s/386bsd.h	Sat Mar 25 17:23:06 1995
***************
*** 33,43 ****
  promotional, or sales literature without prior written consent from
  MIT in each case. */
  
! #define C_SWITCH_SYSTEM -D_POSIX -D_BSD -I/usr/X386/include
  
  #define C_OPTIMIZE_SWITCH -O6
  
! #define LIBX11_MACHINE -L/usr/X386/lib
  
  #define LIBS_TERMCAP -ltermcap
  
--- 33,43 ----
  promotional, or sales literature without prior written consent from
  MIT in each case. */
  
! #define C_SWITCH_SYSTEM -D_POSIX -D_BSD -I/usr/X11R6/include -m486
  
  #define C_OPTIMIZE_SWITCH -O6
  
! #define LIBX11_MACHINE -L/usr/X11R6/lib
  
  #define LIBS_TERMCAP -ltermcap
  
diff -cr microcode.orig/unxutl/makefile dist-7.3/microcode/unxutl/makefile
*** microcode.orig/unxutl/makefile	Sat Mar 25 17:22:33 1995
--- microcode/unxutl/makefile	Sat Mar 25 17:23:06 1995
***************
*** 3,9 ****
  #
  # $Id: patch-a,v 1.1.1.1 1995/03/26 03:31:05 jmacd Exp $
  #
! CPP = cc -E
  MAKE = make  # BSD doesn't have it as a default.
  
  all: xmkfile
--- 3,9 ----
  #
  # $Id: patch-a,v 1.1.1.1 1995/03/26 03:31:05 jmacd Exp $
  #
! CPP = gcc -E
  MAKE = make  # BSD doesn't have it as a default.
  
  all: xmkfile
diff -cr microcode.orig/unxutl/ymkfile dist-7.3/microcode/unxutl/ymkfile
*** microcode.orig/unxutl/ymkfile	Sat Mar 25 17:22:32 1995
--- microcode/unxutl/ymkfile	Sat Mar 25 17:23:06 1995
***************
*** 328,334 ****
  #ifdef ALTERNATE_CC
  CC = ALTERNATE_CC
  #else
! CC = cc
  #endif
  #ifdef ALTERNATE_M4
  M4 = ALTERNATE_M4
--- 328,334 ----
  #ifdef ALTERNATE_CC
  CC = ALTERNATE_CC
  #else
! CC = gcc
  #endif
  #ifdef ALTERNATE_M4
  M4 = ALTERNATE_M4
***************
*** 678,691 ****
  	sdata.h const.h psbmap.h $(GC_HEAD_FILES) comlin.h comlin.c
  usrdef.tch : usrdef.h config.h object.h prim.h
  
! limits.h : hard-par
  	rm -f limits.h
! 	RUN(hard-par) -l > limits.h
! float.h : hard-par
  	rm -f float.h
! 	RUN(hard-par) -f > float.h
! hard-par : hard-par.c
! 	$(CC) -DNO_SC $(LDFLAGS) -o hard-par hard-par.c
  
  hppacach.o : hppacach.h
  
--- 678,689 ----
  	sdata.h const.h psbmap.h $(GC_HEAD_FILES) comlin.h comlin.c
  usrdef.tch : usrdef.h config.h object.h prim.h
  
! limits.h :
  	rm -f limits.h
!         ln -s /usr/include/machine/limits.h .
! float.h :
  	rm -f float.h
!         ln -s /usr/include/machine/float.h .
  
  hppacach.o : hppacach.h
  
diff -cr microcode.orig/uxtop.c dist-7.3/microcode/uxtop.c
*** microcode.orig/uxtop.c	Sat Mar 25 17:23:00 1995
--- microcode/uxtop.c	Sat Mar 25 17:23:06 1995
***************
*** 298,305 ****
  CONST char *
  DEFUN (OS_error_code_to_message, (syserr), unsigned int syserr)
  {
-   extern char * sys_errlist [];
    extern int sys_nerr;
    int code = (syserr_to_error_code ((enum syserr_names) syserr));
    return (((code > 0) && (code <= sys_nerr)) ? (sys_errlist [code]) : 0);
  }
--- 298,305 ----
  CONST char *
  DEFUN (OS_error_code_to_message, (syserr), unsigned int syserr)
  {
    extern int sys_nerr;
    int code = (syserr_to_error_code ((enum syserr_names) syserr));
    return (((code > 0) && (code <= sys_nerr)) ? (sys_errlist [code]) : 0);
  }
+ 
