Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sup won't compile



Hi,

to get sup compile again I need the following patches (tried on
amd64 and i386):

>-1001: (cd /usr/src && cvs diff -u usr.sbin/sup/lib/Makefile)
Index: usr.sbin/sup/lib/Makefile
===================================================================
RCS file: /cvsroot/src/usr.sbin/sup/lib/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- usr.sbin/sup/lib/Makefile   3 May 2008 14:48:32 -0000       1.13
+++ usr.sbin/sup/lib/Makefile   15 Jan 2009 22:19:18 -0000
@@ -5,7 +5,7 @@
 LIB=   sup

 SRCS=  scm.c scmio.c stree.c log.c supmsg.c netcrypt.c
-SRCS+= atoo.c errmsg.c expand.c ffilecopy.c filecopy.c \
+SRCS+= atoo.c expand.c ffilecopy.c filecopy.c \
        nxtarg.c path.c quit.c run.c skipto.c

 .PATH: ${.CURDIR}/../source


and


>-1004: ( cd /usr/src && cvs diff -u usr.sbin/sup/source/supcmeat.c )
Index: usr.sbin/sup/source/supcmeat.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/sup/source/supcmeat.c,v
retrieving revision 1.33
diff -u -r1.33 supcmeat.c
--- usr.sbin/sup/source/supcmeat.c      15 Jan 2009 15:58:42 -0000      1.33
+++ usr.sbin/sup/source/supcmeat.c      15 Jan 2009 22:22:30 -0000
@@ -741,7 +741,7 @@
        char *type;
        char pname[MAXPATHLEN];
        struct stat pbuf;
-       int er;
+       int er = 0;

        if (mode == S_IFLNK)
                *newp = (lstat(name, statp) < 0);


Kurt


Home | Main Index | Thread Index | Old Index