Skip site navigation (1)Skip section navigation (2)
Date:      18 Oct 2001 21:48:03 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        <arch@freebsd.org>, <hackers@freebsd.org>
Subject:   Re: New rc.d init script roadmap
Message-ID:  <xzpd73kbuh8.fsf@flood.ping.uio.no>
In-Reply-To: <xzpk7xsbura.fsf@flood.ping.uio.no>
References:  <Pine.LNX.4.33.0110180824570.30874-200000@smtp.gnf.org> <xzpk7xsbura.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=

Dag-Erling Smorgrav <des@ofug.org> writes:
> Your rcorder patch is incorrect.

Here's a correct patch.  Does anybody mind if I commit this and
connect rcorder(8) to the build?

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=rcorder.diff

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/rcorder/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	16 Jun 2001 07:16:14 -0000	1.1.1.1
+++ Makefile	18 Oct 2001 19:44:57 -0000
@@ -3,11 +3,12 @@
 PROG=   rcorder
 SRCS=   ealloc.c hash.c rcorder.c
 MAN=	rcorder.8
+WARNS?=	2
 
 LDADD+=	-lutil
 DPADD+=	${LIBUTIL}
 
 # XXX hack for make's hash.[ch]
-CPPFLAGS+= -DORDER
+CFLAGS+= -DORDER
 
 .include <bsd.prog.mk>
Index: rcorder.c
===================================================================
RCS file: /home/ncvs/src/sbin/rcorder/rcorder.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 rcorder.c
--- rcorder.c	16 Jun 2001 07:16:14 -0000	1.1.1.1
+++ rcorder.c	18 Oct 2001 19:45:27 -0000
@@ -41,7 +41,11 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#if defined(__NetBSD__)
 #include <util.h>
+#else
+char *fparseln(FILE *, size_t *, size_t *, const char[3], int);
+#endif
 
 #include "ealloc.h"
 #include "sprite.h"

--=-=-=--

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




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