[4088] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Kerberos5 B4-3 Build Problems

daemon@ATHENA.MIT.EDU (Ted Lemon)
Tue Oct 25 16:10:17 1994

To: brunke@dkrz.de
Cc: kerberos@MIT.EDU
In-Reply-To: Your message of "Tue, 25 Oct 1994 15:26:26 GMT."
             <1994Oct25.152626.2616@news.dkrz.de> 
Date: Tue, 25 Oct 1994 12:52:17 -0700
From: Ted Lemon <mellon@ipd.wellsfargo.com>


This is because of a fix that was introduced for Solaris.   The
following diff will get you around the problem, but it isn't a real
solution, since the patched sources won't build on Solaris...

			       _MelloN_

diff -rc2 src-orig/appl/bsd/krlogin.c src/appl/bsd/krlogin.c
*** src-orig/appl/bsd/krlogin.c	Thu Sep 29 14:57:36 1994
--- src/appl/bsd/krlogin.c	Tue Oct 18 10:45:01 1994
***************
*** 87,90 ****
--- 87,91 ----
  /****** MWE *****/
  
+ #ifdef FOO
  /****** MWE *****/
  /* formerly __svr4__ but that's not defined by suncc */
***************
*** 98,101 ****
--- 99,103 ----
  #endif
  /****** MWE *****/
+ #endif
  
  /* how do we tell apart irix 5 and irix 4? */
diff -rc2 src-orig/appl/bsd/krlogind.c src/appl/bsd/krlogind.c
*** src-orig/appl/bsd/krlogind.c	Fri Sep 30 14:07:13 1994
--- src/appl/bsd/krlogind.c	Tue Oct 18 10:49:14 1994
***************
*** 161,176 ****
  #include <utmp.h>
       
  #ifdef HAVE_SYS_TTY_H
  #include <sys/tty.h>
  #endif
  
! #ifndef HAVE_SYS_PTYVAR_H
  /* These values are over-the-wire protocol, *not* local values */
  #define TIOCPKT_NOSTOP          0x10
  #define TIOCPKT_DOSTOP          0x20
  #define TIOCPKT_FLUSHWRITE      0x02
- #else
- /* but solaris actually uses packet mode, so the real macros are needed too */
- #include <sys/ptyvar.h>
  #endif
  
--- 161,180 ----
  #include <utmp.h>
       
+ #ifdef FOO
  #ifdef HAVE_SYS_TTY_H
  #include <sys/tty.h>
  #endif
  
! #ifdef HAVE_SYS_PTYVAR_H
! /* but solaris actually uses packet mode, so the real macros are needed too */
! #include <sys/ptyvar.h>
! #endif
! #endif /* FOO */
! 
  /* These values are over-the-wire protocol, *not* local values */
+ #ifndef TIOCPKT_NOSTOP
  #define TIOCPKT_NOSTOP          0x10
  #define TIOCPKT_DOSTOP          0x20
  #define TIOCPKT_FLUSHWRITE      0x02
  #endif
  


--
Ted Lemon		      Wells Fargo Bank, Information Protection Division
mellon@ipd.wellsfargo.com					+1 415 477 5045

home help back first fref pref prev next nref lref last post