Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2018 22:45:55 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r463452 - in head: audio/alsa-lib audio/gramofile audio/wavplay audio/xmcd audio/zinf benchmarks/super-smack databases/fastdb deskutils/fusenshi devel/ace devel/libmba devel/libshbuf de...
Message-ID:  <20180302224555.GB83679@spindle.one-eyed-alien.net>
In-Reply-To: <201803022234.w22MYrYJ070311@repo.freebsd.org>
References:  <201803022234.w22MYrYJ070311@repo.freebsd.org>

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

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

On Fri, Mar 02, 2018 at 10:34:53PM +0000, Brooks Davis wrote:
> Author: brooks
> Date: Fri Mar  2 22:34:53 2018
> New Revision: 463452
> URL: https://svnweb.freebsd.org/changeset/ports/463452
>=20
> Log:
>   Work around the lack of definition of union semun per POSIX.
>  =20
>   When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
>   Where this fails due to ports not honoring C*FLAGS, patch using
>   __FreeBSD_version to enable the definition.

In most cases the more correct solution is to modify the code (often
already a local patch) that causes union semun to not be defined using
__FreeBSD_version.  I chose the CFLAGS approach to limit disruption for
maintainers.

-- Brooks

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJamdQjAAoJEKzQXbSebgfAq24H/Rtkedgdp+AOP8uQCRAcsGR7
f8IUpEAUoPuJ3M1sWkMDYsR84V6GRF5x17CEkZ1N/YoLE99Dd8bUy9PouJAlDqFI
bYPH+UH6xrlXnmFqIaSlyduopS0uHYPS/Zq7QVBC80AJ5JrMwGRihCchfaMKK/IB
A0N3FJyJyjCdJXNonxQVzOxZ+a81liFgU7GbzHM6H3ksxr3nJI+PtY1MiDKV1oJo
sJQkGEnuKMak3b+LZD322J7GHxmhbDWAKKp3+YLiF7fDr16WjgWEUG+9Zgppv6oE
pvPxj3wLpFxf05FNTe3ivjwf0V4vTVbnHgXVKTJWsVAm/+HjFLlKahtYI0xCaag=
=z9cX
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--



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