Subject: port-i386/2209: [i386] ispcvt can't be compile.
To: None <gnats-bugs@NetBSD.ORG>
From: Tatoku Ogaito <tacha@nuclth12.phys.sci.osaka-u.ac.jp>
List: netbsd-bugs
Date: 03/13/1996 00:55:42
>Number:         2209
>Category:       port-i386
>Synopsis:       ispcvt still use obsolete member of pcvtinfo.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 12 11:20:02 1996
>Last-Modified:
>Originator:     Tatoku Ogaito
>Organization:
Tatoku Ogaito		| Email: tacha@tera.phys.sci.osaka-u.ac.jp
Department of Physics   | WWW:   http://tera.phys.sci.osaka-u.ac.jp/~tacha/
Faculty of Science      | Tel  : +81 6-850-5346
Osaka University  	| Fax  : +81 6-850-5529
>Release:        As of Mar 11, 1996
>Environment:
System: NetBSD tera.phys.sci.osaka-u.ac.jp 1.1A NetBSD 1.1A (TERA) #12: Tue Mar 12 06:18:10 JST 1996 root@tera.phys.sci.osaka-u.ac.jp:/usr/src/current/src/sys/arch/i386/compile/TERA i386


>Description:
	ispcvt invoked with cv option tries to print out 
all kernel configuration options about pcvt, including
obsolete PCVT_UPDATE{SLOW,FAST}.
But there is no member named updatefast nor updateslow
in pcvtinfo structure, ispcvt won't be compiled.

>How-To-Repeat:
	cd /sys/arch/i386/isa/pcvt && make depend all
>Fix:
*** ispcvt.c.orig	Sat Oct 14 11:01:21 1995
--- ispcvt.c	Wed Mar 13 00:18:16 1996
***************
*** 189,196 ****
  		fprintf(stderr,"Operating System     = %s\t", p);
  		fprintf(stderr,"OS Release Id        = %u\n", pcvtinfo.opsysrel);
  		fprintf(stderr,"PCVT_NSCREENS        = %u\t\t", pcvtinfo.nscreens);
- 		fprintf(stderr,"PCVT_UPDATEFAST      = %u\n", pcvtinfo.updatefast);
- 		fprintf(stderr,"PCVT_UPDATESLOW      = %u\t\t", pcvtinfo.updateslow);
  		fprintf(stderr,"PCVT_SYSBEEPF        = %u\n", pcvtinfo.sysbeepf);
  		fprintf(stderr,"PCVT_PCBURST         = %u\t\t", pcvtinfo.pcburst);
  		fprintf(stderr,"PCVT_KBD_FIFO_SZ     = %u\n\n", pcvtinfo.kbd_fifo_sz);
--- 189,194 ----
***************
*** 281,288 ****
  	{
  		fprintf(stderr,"BSD Version      = %u\n", pcvtinfo.opsys);
  		fprintf(stderr,"PCVT_NSCREENS    = %u\n", pcvtinfo.nscreens);
- 		fprintf(stderr,"PCVT_UPDATEFAST  = %u\n", pcvtinfo.updatefast);
- 		fprintf(stderr,"PCVT_UPDATESLOW  = %u\n", pcvtinfo.updateslow);
  		fprintf(stderr,"PCVT_SYSBEEPF    = %u\n", pcvtinfo.sysbeepf);
  		fprintf(stderr,"Compile options  = 0x%08X\n", pcvtinfo.compile_opts);
  	}
--- 279,284 ----

>Audit-Trail:
>Unformatted: