Re: Current World stops at rcp.yppasswdd

2002-02-11 Thread David Wolfskill

>Date: Tue,  5 Feb 2002 06:21:34 -0800
>From: Edwin Culp <[EMAIL PROTECTED]>

>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.c9 Jul 2001 09:24:02 -   1.5
+++ usr.sbin/rpc.yppasswdd/pw_util.c5 Feb 2002 16:53:43 -
@@ -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 -  1.9
+++ usr.sbin/rpc.yppasswdd/yppasswdd_extern.h   5 Feb 2002 15:38:25 -
@@ -64,7 +64,7 @@
 extern voidinstall_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 voidpw_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  [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Current World stops at rcp.yppasswdd

2002-02-11 Thread Edwin Culp

World is breaking for me at:

===> usr.sbin/rpc.yppasswdd
cc -nostdinc -O -pipe   -I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/vipw
-I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/ypserv 
-I/usr/src/usr.sbin/rpc.yppasswdd/../../libexec/ypxfr
-I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.bin/chpass 
-I/usr/src/usr.sbin/rpc.yppasswdd -I.   -I/usr/obj/usr/src/i386/usr/include  -c
/usr/src/usr.sbin/rpc.yppasswdd/pw_copy.c
In file included from /usr/src/usr.sbin/rpc.yppasswdd/pw_copy.c:53:
/usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h:67: conflicting types for
`pw_mkdb'
/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/vipw/pw_util.h:42: previous
declaration of `pw_mkdb'
*** Error code 1

Stop in /usr/src/usr.sbin/rpc.yppasswdd.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Thanks,

ed



---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Current World stops at rcp.yppasswdd

2002-02-05 Thread David Wolfskill

>Date: Tue,  5 Feb 2002 06:21:34 -0800
>From: Edwin Culp <[EMAIL PROTECTED]>

>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.c9 Jul 2001 09:24:02 -   1.5
+++ usr.sbin/rpc.yppasswdd/pw_util.c5 Feb 2002 16:53:43 -
@@ -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 -  1.9
+++ usr.sbin/rpc.yppasswdd/yppasswdd_extern.h   5 Feb 2002 15:38:25 -
@@ -64,7 +64,7 @@
 extern voidinstall_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 voidpw_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  [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Current World stops at rcp.yppasswdd

2002-02-05 Thread Edwin Culp

World is breaking for me at:

===> usr.sbin/rpc.yppasswdd
cc -nostdinc -O -pipe   -I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/vipw
-I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/ypserv 
-I/usr/src/usr.sbin/rpc.yppasswdd/../../libexec/ypxfr
-I/usr/src/usr.sbin/rpc.yppasswdd/../../usr.bin/chpass 
-I/usr/src/usr.sbin/rpc.yppasswdd -I.   -I/usr/obj/usr/src/i386/usr/include  -c
/usr/src/usr.sbin/rpc.yppasswdd/pw_copy.c
In file included from /usr/src/usr.sbin/rpc.yppasswdd/pw_copy.c:53:
/usr/src/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h:67: conflicting types for
`pw_mkdb'
/usr/src/usr.sbin/rpc.yppasswdd/../../usr.sbin/vipw/pw_util.h:42: previous
declaration of `pw_mkdb'
*** Error code 1

Stop in /usr/src/usr.sbin/rpc.yppasswdd.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Thanks,

ed



---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message