From owner-svn-ports-head@freebsd.org Fri Mar 2 22:45:56 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CAA96F29695; Fri, 2 Mar 2018 22:45:56 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A20C7D9BF; Fri, 2 Mar 2018 22:45:56 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id E52735A9F12; Fri, 2 Mar 2018 22:45:55 +0000 (UTC) Date: Fri, 2 Mar 2018 22:45:55 +0000 From: Brooks Davis 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> References: <201803022234.w22MYrYJ070311@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: <201803022234.w22MYrYJ070311@repo.freebsd.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2018 22:45:57 -0000 --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--