Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 10:19:09 -0800 (PST)
From:      David Wolfskill <david@catwhisker.org>
To:        current@FreeBSD.ORG, eculp@encontacto.net
Subject:   Re: Current World stops at rcp.yppasswdd
Message-ID:  <20020212021229.3C9D69F35D@okeeffe.bestweb.net>

next in thread | raw e-mail | index | archive | help
>Date: Tue,  5 Feb 2002 06:21:34 -0800
>From: Edwin Culp <eculp@encontacto.net>

>World is breaking for me at:

>===> usr.sbin/rpc.yppasswdd
>...

Following patch got through it for me:

Index: usr.sbin/rpc.yppasswdd/pw_util.c
===================================================================
RCS file: /cvs/freebsd/src/usr.sbin/rpc.yppasswdd/pw_util.c,v
retrieving revision 1.5
diff -u -r1.5 pw_util.c
--- usr.sbin/rpc.yppasswdd/pw_util.c	9 Jul 2001 09:24:02 -0000	1.5
+++ usr.sbin/rpc.yppasswdd/pw_util.c	5 Feb 2002 16:53:43 -0000
@@ -143,7 +143,7 @@
 
 int
 pw_mkdb(username)
-char *username;
+const char *username;
 {
 
 	yp_error("rebuilding the database...");
@@ -174,7 +174,7 @@
 
 void
 pw_error(name, err, eval)
-	char *name;
+	const char *name;
 	int err, eval;
 {
 	if (err && name != NULL)
Index: usr.sbin/rpc.yppasswdd/yppasswdd_extern.h
===================================================================
RCS file: /cvs/freebsd/src/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h,v
retrieving revision 1.9
diff -u -r1.9 yppasswdd_extern.h
--- usr.sbin/rpc.yppasswdd/yppasswdd_extern.h	28 Aug 1999 01:19:41 -0000	1.9
+++ usr.sbin/rpc.yppasswdd/yppasswdd_extern.h	5 Feb 2002 15:38:25 -0000
@@ -64,7 +64,7 @@
 extern void	install_reaper __P(( int ));
 extern int	pw_copy __P(( int, int, struct passwd * ));
 extern int	pw_lock __P(( void ));
-extern int	pw_mkdb __P(( char * ));
+extern int	pw_mkdb __P((const char * ));
 extern int	pw_tmp __P(( void ));
 extern void	pw_init __P(( void ));
 extern char	*ok_shell __P (( char * ));


[Still building the kernel as I type, but the "make buildworld"
completed OK.]

Cheers,
david       (links to my resume at http://www.catwhisker.org/~david)
-- 
David H. Wolfskill				david@catwhisker.org
I believe it would be irresponsible (and thus, unethical) for me to advise,
recommend, or support the use of any product that is or depends on any
Microsoft product for any purpose other than personal amusement.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212021229.3C9D69F35D>