1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/x11-servers
Raphael Kubo da Costa 2ad13f33ec Fix build with clang 3.8.0.
During a recent exp-run for bug 206074, it was found that x11-servers/x11rdp
gives errors with clang 3.8.0:

/wrkdirs/usr/ports/x11-servers/x11rdp/work/x11rdp_xorg71/build_dir/include/X11/Xtrans/Xtranssock.c:1027:50: error: reference to 'in6addr_any' is ambiguous
        ((struct sockaddr_in6 *)&sockname)->sin6_addr = in6addr_any;
                                                                ^

This is because Xtranssock.c attempts to redefine in6addr_any as a weak symbol,
which does not work with clang 3.8.0. As a fix, place the customized
in6addr_any definition between #ifdef __FreeBSD__ guards.

PR:		207192
Submitted by:	dim
Reviewed by:	Koichiro IWAO <meta+ports@vmeta.jp> (maintainer)
2016-03-03 17:17:52 +00:00
..
mga_hal Cleanup plist 2015-02-05 16:03:32 +00:00
x2vnc
x2x
x11rdp Fix build with clang 3.8.0. 2016-03-03 17:17:52 +00:00
xephyr Add missing dependancies so xephyr can be build again. [1] 2015-10-13 11:31:40 +00:00
Xfstt Fix build on 9. 2015-10-16 14:19:08 +00:00
xorg-dmx Xorg-server update to 1.17.2 with related driver updates and bumps. 2015-10-13 07:45:08 +00:00
xorg-nestserver Update to 1.18.0 2015-12-27 22:31:46 +00:00
xorg-server Update xorg-server to 1.17.4. 2015-10-29 23:03:33 +00:00
xorg-vfbserver Update to 1.18.0 2015-12-27 22:29:37 +00:00
Makefile