Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2001 12:14:17 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        michel.boucey@normanet.fr, Jordan Hubbard <jkh@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   MFC request (was: Re: kdump)
Message-ID:  <20010404121417.C47513@sunbay.com>
In-Reply-To: <Pine.BSF.4.21.0104041002100.16404-100000@daemon.normanet.org>; from michel.boucey@normanet.fr on Wed, Apr 04, 2001 at 10:06:35AM %2B0000
References:  <Pine.BSF.4.21.0104041002100.16404-100000@daemon.normanet.org>

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

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Apr 04, 2001 at 10:06:35AM +0000, michel.boucey@normanet.fr wrote:
> Hi !
> 
> I never can't make buildworld 'cause the compilation of kdump fails :
> 
The attached patch should fix this.  The patch simply accumulates all
my fixes to the `mkioctls' script.  You case is covered by rev 1.20.

If Jordan permits, I will MFC this for 4.3.


# cvs log -Nbwru mkioctls

RCS file: /home/ncvs/src/usr.bin/kdump/mkioctls,v
Working file: mkioctls
head: 1.20
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 24;	selected revisions: 3
description:
----------------------------
revision 1.20
date: 2001/03/27 16:15:25;  author: ru;  state: Exp;  lines: +2 -2
Traverse ${DESTDIR}/usr/include in lexographical order.
This should fix problems reported recently on -current.
----------------------------
revision 1.18
date: 2000/08/02 07:37:44;  author: ru;  state: Exp;  lines: +2 -1
Unbreak world build by adding the necessary <net/ethernet.h> include.

Submitted by:	Nickolay Dudorov <nnd@wint.itfs.nsk.su>
----------------------------
revision 1.17
date: 2000/08/01 08:15:06;  author: ru;  state: Exp;  lines: +2 -2
Fix an off-by-nine error when building a list of includes.
=============================================================================

-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=p

Index: mkioctls
===================================================================
RCS file: /home/ncvs/src/usr.bin/kdump/mkioctls,v
retrieving revision 1.15.2.1
diff -u -p -r1.15.2.1 mkioctls
--- mkioctls	2000/07/15 07:29:29	1.15.2.1
+++ mkioctls	2001/04/04 09:07:01
@@ -19,10 +19,10 @@ fi
 # XXX netipx conflicts with netns (leave out netns).
 ioctl_includes=`
 	cd $1
-	find * -name '*.h' -follow |
+	find -s * -name '*.h' -follow |
 		egrep -v '^(netns)/' |
 		xargs egrep -l \
-'^#[ 	]*define[ 	]+[A-Za-z_][A-Za-z0-0_]*[ 	]+_IO[^a-z0-9_]' |
+'^#[ 	]*define[ 	]+[A-Za-z_][A-Za-z0-9_]*[ 	]+_IO[^a-z0-9_]' |
 		sed -e 's/^/#include </' -e s'/$/>/'
 `
 
@@ -38,6 +38,7 @@ BEGIN {
 	print "#include <sys/socket.h>"
 	print "#include <sys/time.h>"
 	print "#include <sys/tty.h>"
+	print "#include <net/ethernet.h>"
 	print "#include <net/if.h>"
 	print "#include <net/if_var.h>"
 	print "#include <net/route.h>"

--+QahgC5+KEYLbs62--

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




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