[Bug 241804] www/squid: fix build on GCC architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 8 15:57:24 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241804
Bug ID: 241804
Summary: www/squid: fix build on GCC architectures
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: pkubaj at FreeBSD.org
CC: timp87 at gmail.com
Flags: maintainer-feedback?(timp87 at gmail.com)
CC: timp87 at gmail.com
Created attachment 208976
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208976&action=edit
patch
Add --disable-strict-error-checking to CONFIGURE_ARGS for everyone. It adds
-Werror, which is against ports tree policy and causes:
Icmp6.cc: In member function 'virtual void Icmp6::SendEcho(Ip::Address&, int,
const char*, int)':
Icmp6.cc:165:72: error: converting a packed 'icmp6_hdr' pointer (alignment 1)
to a 'short unsigned int' pointer (alignment 2) may result in an unaligned
pointer value [-Werror=address-of-packed-member]
165 | icmp->icmp6_cksum = CheckSum((unsigned short *) icmp,
icmp6_pktsize);
|
^
In file included from Icmp6.h:20,
from Icmp6.cc:18:
/usr/include/netinet/icmp6.h:72:8: note: defined here
72 | struct icmp6_hdr {
| ^~~~~~~~~
At global scope:
cc1plus: error: unrecognized command line option '-Wno-deprecated-register'
[-Werror]
cc1plus: all warnings being treated as errors
Additionally, add GSSAPI_NONE to default options when built with GCC. The
reason is that it only builds with https://reviews.freebsd.org/D20289 applied
and this patch is uncommitted because Mk/Uses/gssapi.mk fails to review it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list