From owner-freebsd-current@FreeBSD.ORG Mon Oct 22 18:48:25 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F05616A417; Mon, 22 Oct 2007 18:48:25 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (koala.ipv6.droso.net [IPv6:2001:6c8:6:0:206:5bff:fef8:267d]) by mx1.freebsd.org (Postfix) with ESMTP id A7F5B13C4BE; Mon, 22 Oct 2007 18:48:24 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 23A181CC06; Mon, 22 Oct 2007 20:53:08 +0200 (CEST) Date: Mon, 22 Oct 2007 20:53:08 +0200 From: Erwin Lansing To: Julian Elischer Message-ID: <20071022185307.GT44185@droso.net> Mail-Followup-To: Julian Elischer , ports@freebsd.org, FreeBSD Current References: <471B059B.1060604@ironport.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1X+6QtwRodzgDPAC" Content-Disposition: inline In-Reply-To: <471B059B.1060604@ironport.com> X-Operating-System: FreeBSD/i386 7.0-PRERELEASE User-Agent: Mutt/1.5.16 (2007-06-09) Cc: ports@freebsd.org, FreeBSD Current Subject: Re: question for both ports and current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 18:48:25 -0000 --1X+6QtwRodzgDPAC Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Julian, On Sun, Oct 21, 2007 at 12:54:03AM -0700, Julian Elischer wrote: > In a move to support real krenel threads doing work in the kernel, > the code that creates kerel processes has been renamed kthread_xxx to=20 > kproc_xxx >=20 > teh following ports seem to reference the renamed functions in kld module= s=20 > they create. >=20 > I'm not a ports export so I'm not sure how to get a port to > change it's behaviour in 8.0 as opposed to 7.0.... >=20 > these are the ports (in fact the lines in the ports) that > will fail at this time.. >=20 > # find . -name "*.[ch]" |xargs grep kthread [snip] >=20 > I'm not sure how I go about patching these two ports to handle the=20 > kthread->kproc > for 8.0 >=20 > rename. Any help appreciated. >=20 The ports infrastructure has an easy mechanism to add patches to the source of a port before it is build, which can be made dependend on OSVERSION. If you can create pachtes against the source of those ports, I'd be happy to get them incorporated in the ports themselves, and do buildtime testing. It would be as simple as a block of: =2Einclude =2Eif ${OSVERSION} > 800001 PATCHFILES=3D somefile.patch PATCHSITES=3D ${MASTER_SITE_LOCAL} MASTER_SITE_LOCAL=3D julian =2Eendif and put the patches on freefall in ~/public_distfiles/ But like I said, I'd be happy to fix this, if you can create the patches. Cheers, -erwin --=20 Erwin Lansing http://droso.org Security is like an onion. (o_ _o) It's made up of several layers \\\_\ /_/// erwin@FreeBSD.org And it makes you cry. <____) (____> erwin@aauug.dk --1X+6QtwRodzgDPAC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHHPGTqy9aWxUlaZARAuyLAKDHyQxNzbl8d4FMWXwCb8tGHhw7jACeO0mZ EhXuwEJ33irf/+foP2G0NV0= =vmCf -----END PGP SIGNATURE----- --1X+6QtwRodzgDPAC--