Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 20:53:08 +0200
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        Julian Elischer <julian@ironport.com>
Cc:        ports@freebsd.org, FreeBSD Current <current@freebsd.org>
Subject:   Re: question for both ports and current
Message-ID:  <20071022185307.GT44185@droso.net>
In-Reply-To: <471B059B.1060604@ironport.com>
References:  <471B059B.1060604@ironport.com>

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

--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 <bsd.port.pre.mk>
=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--



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