Date: Thu, 03 Mar 2016 17:17:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207192] x11-servers/x11rdp: fix build with clang 3.8.0 Message-ID: <bug-207192-13-rTSJKCsF1x@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207192-13@https.bugs.freebsd.org/bugzilla/> References: <bug-207192-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207192 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: rakuco Date: Thu Mar 3 17:17:53 UTC 2016 New revision: 410064 URL: https://svnweb.freebsd.org/changeset/ports/410064 Log: Fix build with clang 3.8.0. During a recent exp-run for bug 206074, it was found that x11-servers/x11= rdp gives errors with clang 3.8.0: =20 /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 =3D 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) Changes: head/x11-servers/x11rdp/files/patch-xtrans-X11R7.0-1.0.0__Xtranssock.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207192-13-rTSJKCsF1x>