Subject: pcvt fails to compile with NetBSD 1.2alpha
To: None <port-i386@NetBSD.ORG>
From: Todd C. Miller <Todd.Miller@cs.colorado.edu>
List: port-i386
Date: 05/26/1996 15:05:39
After this morning's sup I was unable to build a kernel
with pcvt since NetBSD1_1 is no longer defined.  The
following patch makes things work for me.  Note that
this sets PCVT_NETBSD to 119 which makes some sense
since it's 1.2alpha.  When NetBSD1_2 is set to 1
(for the release presumably) PCVT_NETBSD will then be
120.

 - todd

*** /sys/arch/i386/isa/pcvt/pcvt_conf.h.DIST	Sun May 26 14:50:48 1996
--- /sys/arch/i386/isa/pcvt/pcvt_conf.h	Sun May 26 14:49:28 1996
***************
*** 88,93 ****
--- 88,97 ----
  #define PCVT_NETBSD (110 + (NetBSD1_1 - 1))
  #endif
  
+ #ifdef NetBSD1_2
+ #define PCVT_NETBSD (120 + (NetBSD1_2 - 1))
+ #endif
+ 
  /*---------------------------------------------------------------------------
   * Note that each of the options below should rather be overriden by the
   * kernel config file instead of this .h file - this allows for different