Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 15:11:34 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, sobomax@FreeBSD.ORG, current@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: New 5.0 ports uploaded
Message-ID:  <20021019221133.GA9562@xor.obsecurity.org>
In-Reply-To: <20021019235737.2e1987e9.sheepkiller@cultdeadsheep.org>
References:  <20021019012219.GA86396@xor.obsecurity.org> <20021019051918.GC14922@vega.vega.com> <20021019205848.GB7186@xor.obsecurity.org> <20021019235737.2e1987e9.sheepkiller@cultdeadsheep.org>

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

--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 19, 2002 at 11:57:37PM +0200, Clement Laforet wrote:
> On Sat, 19 Oct 2002 13:58:48 -0700
> Kris Kennaway <kris@obsecurity.org> wrote:
>=20
> > Sorry, my statement wasn't clear.  I'll be doing something of the form
> >=20
> > .if ${OSVERSION} > 500000
> > BROKEN=3D	"Does not compile on FreeBSD 5.x"
> > .endif
> >=20
> > This will not affect users of 4.x
> >
>=20
> Is there a "correct" way to name patches dedicated to 5.x ?

The patches should be applied in all cases (i.e. 4.x as well); if the
patch contains code that should not be compiled in the 4.x case then
compile it conditionally using something like:

#if defined(__FreeBSD__) && (__FreeBSD_version >=3D 5000xx)
=2E..
#endif

See the porter's handbook for more information about this.

Kris

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9sdiVWry0BWjoQKURAoblAJwLLTQm09BLl97OEWRm3D3D98oLzQCfdL/n
OsdEXafoY8ydPDnOyDcI89g=
=/WQz
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--

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




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