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...

Brooks Davis brooks at freebsd.org
Fri Mar 2 22:45:57 UTC 2018


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
> 
> Log:
>   Work around the lack of definition of union semun per POSIX.
>   
>   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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20180302/fb223509/attachment.sig>


More information about the svn-ports-head mailing list