From owner-freebsd-arch Thu Oct 18 12:49:22 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 8DC0537B408; Thu, 18 Oct 2001 12:49:06 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 8309714C2E; Thu, 18 Oct 2001 21:49:05 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Gordon Tetlow Cc: , Subject: Re: New rc.d init script roadmap References: From: Dag-Erling Smorgrav Date: 18 Oct 2001 21:49:05 +0200 In-Reply-To: Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-=-= Dag-Erling Smorgrav writes: > Here's a correct patch. Murphy's Law of Attachments, etc. 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 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 #include #include +#if defined(__NetBSD__) #include +#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